Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001566/0.001566, allocations: 108.6 kB / 15.73 MB, free: 72 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.002519/0.002519, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.89 kB / 1.018 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3471, allocations: 151.6 MB / 1.167 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.005837/0.353, allocations: 2.2 MB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.9859/1.339, allocations: 150.5 MB / 1.316 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/1.339, allocations: 6.25 kB / 1.316 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/1.34, allocations: 0.7818 MB / 1.316 GB, free: 12.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009212/1.342, allocations: 491.3 kB / 1.317 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/1.343, allocations: 402 kB / 1.317 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001201/1.344, allocations: 0.5674 MB / 1.318 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/1.345, allocations: 87.66 kB / 1.318 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/1.346, allocations: 374.5 kB / 1.318 GB, free: 12.24 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007886/1.347, allocations: 478.6 kB / 1.319 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.394e-05/1.347, allocations: 23 kB / 1.319 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009345/1.348, allocations: 297.1 kB / 1.319 GB, free: 12.19 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002997/1.348, allocations: 190.8 kB / 1.319 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003287/1.349, allocations: 261.3 kB / 1.32 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/1.35, allocations: 0.7424 MB / 1.32 GB, free: 11.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.35, allocations: 0.5156 kB / 1.32 GB, free: 11.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.844e-06/1.35, allocations: 4 kB / 1.32 GB, free: 11.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.161e-05/1.35, allocations: 0 / 1.32 GB, free: 11.86 MB / 1.014 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.00193/1.352, allocations: 1.105 MB / 1.321 GB, free: 11.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.352, allocations: 8.656 kB / 1.321 GB, free: 11.1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/1.354, allocations: 196.5 kB / 1.322 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000713/1.354, allocations: 0.4956 MB / 1.322 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/1.354, allocations: 15.2 kB / 1.322 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/1.355, allocations: 28.11 kB / 1.322 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009603/1.355, allocations: 327 kB / 1.322 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/1.356, allocations: 5.094 kB / 1.322 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/1.356, allocations: 8.844 kB / 1.322 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.356, allocations: 4.562 kB / 1.322 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/1.357, allocations: 340.9 kB / 1.323 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/1.359, allocations: 1.118 MB / 1.324 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/1.361, allocations: 408.1 kB / 1.324 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006793/1.361, allocations: 205 kB / 1.324 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.764e-05/1.361, allocations: 6.156 kB / 1.324 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008775/1.362, allocations: 316.8 kB / 1.325 GB, free: 9.945 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/1.362, allocations: 1.531 kB / 1.325 GB, free: 9.945 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.008671/1.371, allocations: 1.222 MB / 1.326 GB, free: 9.547 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/1.371, allocations: 79.73 kB / 1.326 GB, free: 9.453 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/1.373, allocations: 1.344 MB / 1.327 GB, free: 9.008 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.836e-05/1.373, allocations: 33.52 kB / 1.327 GB, free: 8.973 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/1.373, allocations: 366.5 kB / 1.328 GB, free: 8.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/1.373, allocations: 99.69 kB / 1.328 GB, free: 8.605 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/1.373, allocations: 68.22 kB / 1.328 GB, free: 8.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.373, allocations: 325.6 kB / 1.328 GB, free: 8.254 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006422/1.374, allocations: 179 kB / 1.328 GB, free: 8.195 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/1.375, allocations: 227.7 kB / 1.329 GB, free: 8.082 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/1.376, allocations: 397.7 kB / 1.329 GB, free: 7.906 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/1.376, allocations: 5.156 kB / 1.329 GB, free: 7.902 MB / 1.014 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003953/1.38, allocations: 0.718 MB / 1.33 GB, free: 7.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/1.38, allocations: 8.141 kB / 1.33 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.38, allocations: 2.594 kB / 1.33 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/1.381, allocations: 182.3 kB / 1.33 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/1.381, allocations: 57.78 kB / 1.33 GB, free: 7.617 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007667/1.389, allocations: 2.299 MB / 1.332 GB, free: 6.043 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006459/1.39, allocations: 44.41 kB / 1.332 GB, free: 6.023 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/1.39, allocations: 15.2 kB / 1.332 GB, free: 6.023 MB / 1.014 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.00052/1.39, allocations: 295.3 kB / 1.332 GB, free: 5.863 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/1.39, allocations: 87.56 kB / 1.333 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003998/1.394, allocations: 0.7616 MB / 1.333 GB, free: 5.566 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.395, allocations: 7.281 kB / 1.333 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.395, allocations: 1.094 kB / 1.333 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.395, allocations: 0 / 1.333 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/1.395, allocations: 0.5724 MB / 1.334 GB, free: 5.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.395, allocations: 0 / 1.334 GB, free: 5.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/1.396, allocations: 50.77 kB / 1.334 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009482/1.397, allocations: 176.7 kB / 1.334 GB, free: 5.191 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/1.397, allocations: 13.88 kB / 1.334 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007304/1.404, allocations: 2.287 MB / 1.336 GB, free: 3.621 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.404, allocations: 11.05 kB / 1.336 GB, free: 3.613 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/1.408, allocations: 0.7646 MB / 1.337 GB, free: 3.328 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/1.408, allocations: 152.7 kB / 1.337 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-05/1.408, allocations: 11.03 kB / 1.337 GB, free: 3.172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/1.409, allocations: 24.47 kB / 1.337 GB, free: 3.168 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.093e-05/1.409, allocations: 28.59 kB / 1.337 GB, free: 3.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/1.409, allocations: 18.47 kB / 1.337 GB, free: 3.156 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001258/1.41, allocations: 1.003 MB / 1.338 GB, free: 2.812 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.41, allocations: 1.531 kB / 1.338 GB, free: 2.812 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005529/1.411, allocations: 112.1 kB / 1.338 GB, free: 2.793 MB / 1.014 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.001021/1.412, allocations: 434.2 kB / 1.339 GB, free: 2.598 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001804/1.413, allocations: 0.5436 MB / 1.339 GB, free: 2.363 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.413, allocations: 8.688 kB / 1.339 GB, free: 2.355 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009395/1.414, allocations: 357.4 kB / 1.34 GB, free: 2.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/1.415, allocations: 127.5 kB / 1.34 GB, free: 2.133 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/1.418, allocations: 1.598 MB / 1.341 GB, free: 1.465 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/1.418, allocations: 0.9702 MB / 1.342 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003322/1.419, allocations: 92.72 kB / 1.342 GB, free: 0.707 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/1.419, allocations: 37.45 kB / 1.342 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/1.419, allocations: 1.188 kB / 1.342 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of Templates: time 0.01815/1.437, allocations: 10.25 MB / 1.352 GB, free: 12.62 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches