Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008387/0.008387, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 195.8 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.853/2.853, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 61.89 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3072, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002079/0.3093, allocations: 0.7001 MB / 1.053 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.311, allocations: 1.221 MB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.3111, allocations: 0 / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.3112, allocations: 0 / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.656e-05/0.3113, allocations: 19.84 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.3119, allocations: 193.8 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.3121, allocations: 151.7 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.3122, allocations: 15.98 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.3123, allocations: 63.88 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.846e-05/0.3124, allocations: 43.81 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.3124, allocations: 12 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-05/0.3125, allocations: 19.98 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.3126, allocations: 11.94 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.3127, allocations: 51.88 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.3128, allocations: 107.7 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3128, allocations: 4 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.91e-07/0.3128, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.3128, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005558/0.3134, allocations: 438.9 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3134, allocations: 11.97 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.3135, allocations: 12.84 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3136, allocations: 172.3 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.3137, allocations: 4.375 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.3137, allocations: 8.375 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.3138, allocations: 50.25 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.3138, allocations: 192 / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3139, allocations: 7.922 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3139, allocations: 4 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.3139, allocations: 12 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.3144, allocations: 356.6 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.731e-05/0.3145, allocations: 42.5 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.3146, allocations: 12.86 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.3146, allocations: 0 / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.3148, allocations: 87.39 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3148, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002584/0.3151, allocations: 101.6 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.3151, allocations: 55.39 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3152, allocations: 122.1 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.3153, allocations: 33.7 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.3153, allocations: 88.14 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.3153, allocations: 23.88 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-05/0.3155, allocations: 49.62 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3156, allocations: 322.8 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3157, allocations: 63.89 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.3159, allocations: 92.27 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.3161, allocations: 155.6 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3161, allocations: 0 / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004511/0.3166, allocations: 272.7 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.3166, allocations: 67.39 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3167, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3167, allocations: 4 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.17e-05/0.3167, allocations: 0 / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3167, allocations: 7.938 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.3171, allocations: 48.06 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.3171, allocations: 19.98 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.3173, allocations: 127.1 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.3173, allocations: 7.906 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.3173, allocations: 16.34 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3173, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3174, allocations: 4 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3174, allocations: 0 / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.3175, allocations: 169.6 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3175, allocations: 8.094 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.3175, allocations: 7.922 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3176, allocations: 0 / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3176, allocations: 0 / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3176, allocations: 4 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3176, allocations: 0 / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.3177, allocations: 116.9 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.3178, allocations: 85.02 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.3178, allocations: 0 / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.3178, allocations: 4 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.3179, allocations: 11.98 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.3179, allocations: 8.062 kB / 1.058 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.761e-05/0.3179, allocations: 91.27 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.318, allocations: 0 / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002521/0.3182, allocations: 32 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/0.3184, allocations: 103.2 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.3187, allocations: 246.6 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3187, allocations: 0 / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.3188, allocations: 31.92 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.3191, allocations: 19.92 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.3194, allocations: 190.5 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3197, allocations: 0.6887 MB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.3197, allocations: 7.438 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.3197, allocations: 0 / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of Templates: time 0.003228/0.323, allocations: 1.379 MB / 1.061 GB, free: 15.16 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches