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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.009597/0.009597, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001758/0.001758, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.605/1.605, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.025/3.025, allocations: 472.6 MB / 0.7453 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 71.89 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4193, allocations: 159.9 MB / 1.226 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001876/0.4213, allocations: 0.6537 MB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.4229, allocations: 1.197 MB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.423, allocations: 4 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.423, allocations: 3.938 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.548e-05/0.4231, allocations: 11.88 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007124/0.4238, allocations: 218.3 kB / 1.228 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.4241, allocations: 187.6 kB / 1.228 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.4242, allocations: 12 kB / 1.228 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.465e-05/0.4243, allocations: 71.88 kB / 1.228 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.4244, allocations: 59.84 kB / 1.228 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.4245, allocations: 16 kB / 1.228 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.4246, allocations: 24 kB / 1.228 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.4246, allocations: 11.97 kB / 1.228 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.4247, allocations: 59.77 kB / 1.228 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.425, allocations: 155.5 kB / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.425, allocations: 4 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.044e-06/0.425, allocations: 0 / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.425, allocations: 4 kB / 1.228 GB, free: 6.543 MB / 0.9825 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.0005528/0.4255, allocations: 438.7 kB / 1.229 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4256, allocations: 8.031 kB / 1.229 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.4257, allocations: 12.89 kB / 1.229 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.4258, allocations: 168.3 kB / 1.229 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.4258, allocations: 4.375 kB / 1.229 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.4259, allocations: 8.375 kB / 1.229 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.426, allocations: 50.23 kB / 1.229 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.426, allocations: 4.188 kB / 1.229 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.426, allocations: 7.938 kB / 1.229 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.426, allocations: 0 / 1.229 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.682e-05/0.4261, allocations: 19.92 kB / 1.229 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.4266, allocations: 344.8 kB / 1.229 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.523e-05/0.4267, allocations: 38.52 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.4267, allocations: 16.94 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.4268, allocations: 0 / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.4269, allocations: 95.3 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.4269, allocations: 0 / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002617/0.4272, allocations: 97.62 kB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.4273, allocations: 55.41 kB / 1.23 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.4274, allocations: 117.8 kB / 1.23 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.4274, allocations: 29.7 kB / 1.23 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.4275, allocations: 100 kB / 1.23 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.4275, allocations: 19.89 kB / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.4276, allocations: 46.06 kB / 1.23 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4278, allocations: 326.8 kB / 1.23 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.4279, allocations: 51.97 kB / 1.23 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.4281, allocations: 100.2 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.4283, allocations: 159.6 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4283, allocations: 0 / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004057/0.4287, allocations: 260.9 kB / 1.231 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/0.4288, allocations: 67.39 kB / 1.231 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4288, allocations: 4.125 kB / 1.231 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4288, allocations: 4 kB / 1.231 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.521e-05/0.4288, allocations: 3.938 kB / 1.231 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4288, allocations: 7.984 kB / 1.231 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.4292, allocations: 55.83 kB / 1.231 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.4293, allocations: 12 kB / 1.231 GB, free: 3.559 MB / 0.9825 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.0001118/0.4294, allocations: 129.8 kB / 1.231 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.4294, allocations: 7.953 kB / 1.231 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.4294, allocations: 4.375 kB / 1.231 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4294, allocations: 4 kB / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4294, allocations: 0 / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4295, allocations: 0 / 1.231 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.4296, allocations: 181.6 kB / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4296, allocations: 0 / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/0.4296, allocations: 0 / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4296, allocations: 0 / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4296, allocations: 8 kB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4297, allocations: 3.938 kB / 1.231 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4297, allocations: 0 / 1.231 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.4298, allocations: 121 kB / 1.231 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.4299, allocations: 77.11 kB / 1.231 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.4299, allocations: 96 / 1.231 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.4299, allocations: 7.922 kB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.43, allocations: 8 kB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.43, allocations: 8 kB / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.399e-05/0.4301, allocations: 91.27 kB / 1.231 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4301, allocations: 0 / 1.231 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002311/0.4303, allocations: 28 kB / 1.231 GB, free: 2.793 MB / 0.9825 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.000176/0.4305, allocations: 115.1 kB / 1.232 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.4308, allocations: 246.7 kB / 1.232 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4309, allocations: 256 / 1.232 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.652e-05/0.4309, allocations: 31.94 kB / 1.232 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.4312, allocations: 21.83 kB / 1.232 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.4315, allocations: 158.5 kB / 1.232 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.4318, allocations: 0.6846 MB / 1.233 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.4319, allocations: 4 kB / 1.233 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.4319, allocations: 19.44 kB / 1.233 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.4319, allocations: 0 / 1.233 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of Templates: time 0.004458/0.4364, allocations: 1.841 MB / 1.235 GB, free: 15.62 MB / 0.9981 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/jenkins/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