Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 196.9 kB / 16.79 MB, free: 6.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.415/1.415, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.6906, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004284/0.6949, allocations: 2.247 MB / 0.9518 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.8645, allocations: 148.3 MB / 1.097 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.8648, allocations: 8 kB / 1.097 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.8659, allocations: 0.768 MB / 1.097 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000788/0.8667, allocations: 474.8 kB / 1.098 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.8678, allocations: 348.3 kB / 1.098 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007682/0.8686, allocations: 0.5459 MB / 1.099 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.8688, allocations: 72.7 kB / 1.099 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.8704, allocations: 346.2 kB / 1.099 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.871, allocations: 463.8 kB / 1.099 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.864e-05/0.8711, allocations: 16 kB / 1.099 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006706/0.8717, allocations: 287.5 kB / 1.1 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.8719, allocations: 179.7 kB / 1.1 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.8722, allocations: 265.9 kB / 1.1 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.8729, allocations: 0.5205 MB / 1.101 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8729, allocations: 0 / 1.101 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8729, allocations: 4 kB / 1.101 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.8729, allocations: 0 / 1.101 GB, free: 6.832 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001739/0.8746, allocations: 1.073 MB / 1.102 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.8747, allocations: 8.031 kB / 1.102 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.8763, allocations: 190.8 kB / 1.102 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/0.8769, allocations: 498.5 kB / 1.102 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.877, allocations: 12.38 kB / 1.102 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/0.877, allocations: 28 kB / 1.102 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009397/0.878, allocations: 330.9 kB / 1.103 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.878, allocations: 3.938 kB / 1.103 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.878, allocations: 4 kB / 1.103 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.878, allocations: 7.984 kB / 1.103 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.8794, allocations: 340.7 kB / 1.103 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.8816, allocations: 1.105 MB / 1.104 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.8828, allocations: 401.3 kB / 1.105 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/0.8836, allocations: 209.6 kB / 1.105 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.8836, allocations: 8 kB / 1.105 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.8846, allocations: 320.5 kB / 1.105 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 3.016e-06/0.8846, allocations: 0 / 1.105 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.009248/0.8939, allocations: 1.218 MB / 1.106 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.894, allocations: 81.11 kB / 1.106 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.8956, allocations: 1.341 MB / 1.108 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.8957, allocations: 29.7 kB / 1.108 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.896, allocations: 376.4 kB / 1.108 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.8962, allocations: 94.56 kB / 1.108 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.8963, allocations: 65.67 kB / 1.108 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8964, allocations: 318 kB / 1.109 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006798/0.8971, allocations: 171.9 kB / 1.109 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/0.8978, allocations: 229.7 kB / 1.109 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.8992, allocations: 394 kB / 1.109 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.8992, allocations: 0 / 1.109 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004335/0.9036, allocations: 0.7166 MB / 1.11 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.9036, allocations: 8 kB / 1.11 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.9036, allocations: 4.062 kB / 1.11 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.9047, allocations: 184.6 kB / 1.11 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.9051, allocations: 59.89 kB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007896/0.913, allocations: 2.107 MB / 1.112 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.9137, allocations: 43.75 kB / 1.112 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.9137, allocations: 15.98 kB / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003994/0.9141, allocations: 296.6 kB / 1.113 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.9143, allocations: 86.91 kB / 1.113 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004621/0.9189, allocations: 0.7558 MB / 1.113 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.9189, allocations: 4 kB / 1.113 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.919, allocations: 0 / 1.113 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.919, allocations: 0 / 1.113 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007438/0.9197, allocations: 0.5739 MB / 1.114 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.9197, allocations: 0 / 1.114 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.9201, allocations: 55.84 kB / 1.114 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.9211, allocations: 180.6 kB / 1.114 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.355e-05/0.9212, allocations: 15.98 kB / 1.114 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00793/0.9291, allocations: 2.107 MB / 1.116 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.9292, allocations: 4.031 kB / 1.116 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/0.9337, allocations: 0.7659 MB / 1.117 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.934, allocations: 140 kB / 1.117 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.9341, allocations: 11.98 kB / 1.117 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/0.9346, allocations: 23.98 kB / 1.117 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.9348, allocations: 23.97 kB / 1.117 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/0.9348, allocations: 19.97 kB / 1.117 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001241/0.9361, allocations: 0.9988 MB / 1.118 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9361, allocations: 0 / 1.118 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006065/0.9367, allocations: 123.8 kB / 1.118 GB, free: 4.051 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001199/0.9379, allocations: 439.2 kB / 1.119 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002081/0.94, allocations: 0.5423 MB / 1.119 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.94, allocations: 3.938 kB / 1.119 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.9411, allocations: 358.5 kB / 1.12 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008778/0.942, allocations: 107.2 kB / 1.12 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.9454, allocations: 1.838 MB / 1.122 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.9462, allocations: 0.9684 MB / 1.122 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.9464, allocations: 47.41 kB / 1.123 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of SimCode: time 8.22e-07/0.9464, allocations: 0 / 1.123 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of Templates: time 0.01956/0.966, allocations: 11.09 MB / 1.133 GB, free: 4.75 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches