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.0009624/0.0009625, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001141/0.001141, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.913/2.913, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003999, allocations: 9.312 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3836, allocations: 159.6 MB / 1.058 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001174/0.3848, allocations: 377.9 kB / 1.058 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3867, allocations: 1.171 MB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.3868, allocations: 4 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.3868, allocations: 0 / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.837e-05/0.3869, allocations: 7.922 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007778/0.3877, allocations: 187.8 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3879, allocations: 135.7 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.388, allocations: 11.98 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.3881, allocations: 63.88 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.3883, allocations: 47.88 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.3883, allocations: 8 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.3884, allocations: 19.98 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.3884, allocations: 11.92 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.3885, allocations: 41.7 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.3887, allocations: 95.77 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3887, allocations: 0 / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3887, allocations: 4 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3887, allocations: 0 / 1.06 GB, free: 3.117 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.0005536/0.3893, allocations: 414.8 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3893, allocations: 8.031 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.3894, allocations: 8 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.3896, allocations: 182.8 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.3896, allocations: 11.92 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.3897, allocations: 15.95 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3898, allocations: 45.69 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3899, allocations: 4 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3899, allocations: 0 / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3899, allocations: 0 / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.341e-05/0.3899, allocations: 15.98 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000613/0.3906, allocations: 356.7 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.996e-05/0.3907, allocations: 30.52 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.3907, allocations: 20.94 kB / 1.061 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.3907, allocations: 4 kB / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.3909, allocations: 75.38 kB / 1.061 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.3909, allocations: 0 / 1.061 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002807/0.3912, allocations: 105.5 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.3913, allocations: 55.41 kB / 1.061 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3914, allocations: 121.9 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.3915, allocations: 37.7 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.3916, allocations: 88.33 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.3916, allocations: 11.81 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.3916, allocations: 7.984 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3917, allocations: 318.8 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.3919, allocations: 59.97 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.392, allocations: 96.25 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.3922, allocations: 111.8 kB / 1.062 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3922, allocations: 0 / 1.062 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004528/0.3926, allocations: 260.8 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.919e-05/0.3927, allocations: 71.39 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3928, allocations: 0 / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.3928, allocations: 4.125 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-05/0.3928, allocations: 4 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3928, allocations: 0 / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.3933, allocations: 83.89 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.3933, allocations: 15.98 kB / 1.063 GB, free: 244 kB / 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.3935, allocations: 129.7 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.3935, allocations: 11.84 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.3935, allocations: 12.38 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3935, allocations: 0 / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3936, allocations: 4 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3936, allocations: 0 / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.3938, allocations: 181.6 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3938, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.3938, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3938, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3938, allocations: 4 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3938, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3938, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.394, allocations: 113 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.3941, allocations: 84.97 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.3941, allocations: 3.984 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.713e-05/0.3942, allocations: 8 kB / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.3942, allocations: 0 / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.3943, allocations: 7.984 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.077e-05/0.3943, allocations: 87.28 kB / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3943, allocations: 0 / 1.063 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002723/0.3946, allocations: 35.98 kB / 1.063 GB, free: 15.47 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002362/0.3948, allocations: 99.53 kB / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.3953, allocations: 250.7 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3953, allocations: 0 / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/0.3953, allocations: 31.86 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3956, allocations: 17.08 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.3961, allocations: 172.1 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.3964, allocations: 0.6887 MB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.3964, allocations: 4 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.3965, allocations: 11.44 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3965, allocations: 0 / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of Templates: time 0.005539/0.402, allocations: 1.695 MB / 1.066 GB, free: 12.45 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/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