Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001607/0.001607, allocations: 192 kB / 17.31 MB, free: 5.18 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437.1 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.001351, allocations: 66 kB / 0.8707 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2711, allocations: 151.6 MB / 1.019 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003369/0.2745, allocations: 2.304 MB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6603/0.9349, allocations: 152 MB / 1.169 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.9353, allocations: 7.281 kB / 1.169 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.9355, allocations: 43.27 kB / 1.17 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.9362, allocations: 105.4 kB / 1.17 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009091/0.9371, allocations: 295.6 kB / 1.17 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.9376, allocations: 436.9 kB / 1.17 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.9378, allocations: 102.2 kB / 1.17 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.9392, allocations: 270.5 kB / 1.171 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.9394, allocations: 186.3 kB / 1.171 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.433e-05/0.9395, allocations: 30.22 kB / 1.171 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.9401, allocations: 286.8 kB / 1.171 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.036e-05/0.9402, allocations: 81.39 kB / 1.171 GB, free: 0.6133 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.9404, allocations: 166.3 kB / 1.171 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006056/0.941, allocations: 493.2 kB / 1.172 GB, free: 340 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.941, allocations: 1.781 kB / 1.172 GB, free: 340 kB / 0.8731 GB Notification: Performance of FrontEnd: time 1.282e-06/0.941, allocations: 0 / 1.172 GB, free: 340 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.941, allocations: 1.469 kB / 1.172 GB, free: 340 kB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001487/0.9425, allocations: 0.6947 MB / 1.173 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.9426, allocations: 11.89 kB / 1.173 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00284/0.9454, allocations: 265.7 kB / 1.173 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.9459, allocations: 303.2 kB / 1.173 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.9459, allocations: 19.78 kB / 1.173 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.057e-05/0.946, allocations: 27.62 kB / 1.173 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.9475, allocations: 431.7 kB / 1.174 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.9475, allocations: 0 / 1.174 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.9476, allocations: 10.22 kB / 1.174 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.9476, allocations: 10.47 kB / 1.174 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.9499, allocations: 0.5249 MB / 1.174 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.9532, allocations: 1.151 MB / 1.175 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.9554, allocations: 460.4 kB / 1.176 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.9565, allocations: 231.7 kB / 1.176 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.9566, allocations: 11.72 kB / 1.176 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.9566, allocations: 35.66 kB / 1.176 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=25): time 2.394e-06/0.9566, allocations: 0 / 1.176 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of matching and sorting (n=25): time 0.01587/0.9725, allocations: 1.736 MB / 1.178 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.9726, allocations: 58.09 kB / 1.178 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.973, allocations: 308.9 kB / 1.178 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.826e-05/0.973, allocations: 27.8 kB / 1.178 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.9732, allocations: 169.9 kB / 1.178 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.9733, allocations: 81.78 kB / 1.178 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.9735, allocations: 78.2 kB / 1.178 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.9736, allocations: 345.6 kB / 1.179 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.9747, allocations: 198.9 kB / 1.179 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.9758, allocations: 261.5 kB / 1.179 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.978, allocations: 437.6 kB / 1.179 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.978, allocations: 3.984 kB / 1.179 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007253/0.9852, allocations: 0.8936 MB / 1.18 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.9853, allocations: 5 kB / 1.18 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.9853, allocations: 5.219 kB / 1.18 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/0.9873, allocations: 283.5 kB / 1.181 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.9879, allocations: 65.59 kB / 1.181 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/1.003, allocations: 4.09 MB / 1.185 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009464/1.004, allocations: 73.3 kB / 1.185 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/1.004, allocations: 23.88 kB / 1.185 GB, free: 7.23 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002946/1.004, allocations: 140.1 kB / 1.185 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/1.005, allocations: 28.94 kB / 1.185 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00732/1.012, allocations: 0.953 MB / 1.186 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.012, allocations: 6.766 kB / 1.186 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/1.012, allocations: 0 / 1.186 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/1.012, allocations: 5.891 kB / 1.186 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/1.013, allocations: 417.9 kB / 1.186 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.013, allocations: 6.469 kB / 1.186 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/1.013, allocations: 51.92 kB / 1.186 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/1.015, allocations: 278.8 kB / 1.187 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.704e-05/1.015, allocations: 15.84 kB / 1.187 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/1.03, allocations: 4.069 MB / 1.191 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.03, allocations: 0 / 1.191 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006932/1.037, allocations: 0.9621 MB / 1.192 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/1.037, allocations: 112.6 kB / 1.192 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/1.037, allocations: 10.16 kB / 1.192 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/1.038, allocations: 41.02 kB / 1.192 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.038, allocations: 19.94 kB / 1.192 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/1.038, allocations: 22.81 kB / 1.192 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002399/1.038, allocations: 230.8 kB / 1.192 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.038, allocations: 3.938 kB / 1.192 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000653/1.039, allocations: 114 kB / 1.192 GB, free: 1.551 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002683/1.039, allocations: 111.9 kB / 1.192 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002778/1.042, allocations: 0.7226 MB / 1.193 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.042, allocations: 0 / 1.193 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/1.043, allocations: 0.5005 MB / 1.193 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006965/1.044, allocations: 114.7 kB / 1.193 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/1.047, allocations: 0.6771 MB / 1.194 GB, free: 108 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/1.047, allocations: 0.7725 MB / 1.195 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003828/1.047, allocations: 81.44 kB / 1.195 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/1.047, allocations: 33.27 kB / 1.195 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of SimCode: time 4.3e-07/1.047, allocations: 0 / 1.195 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of Templates: time 0.02132/1.069, allocations: 13.57 MB / 1.208 GB, free: 6.109 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches