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.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.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.001361/0.001362, allocations: 104.4 kB / 16.27 MB, free: 6.414 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.001231/0.001231, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.588/2.588, allocations: 437.1 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 64.05 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3384, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004438/0.3429, allocations: 2.308 MB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6888/1.032, allocations: 152 MB / 1.169 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/1.032, allocations: 8.156 kB / 1.169 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/1.032, allocations: 46.52 kB / 1.169 GB, free: 1.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003739/1.033, allocations: 100.9 kB / 1.169 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007725/1.033, allocations: 305.2 kB / 1.169 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004417/1.034, allocations: 426.6 kB / 1.17 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/1.034, allocations: 109.8 kB / 1.17 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/1.035, allocations: 281.3 kB / 1.17 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/1.036, allocations: 178.4 kB / 1.17 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.325e-05/1.036, allocations: 34.52 kB / 1.17 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005503/1.036, allocations: 281.6 kB / 1.17 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/1.036, allocations: 78.16 kB / 1.17 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/1.037, allocations: 166.3 kB / 1.171 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006291/1.037, allocations: 483.5 kB / 1.171 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.037, allocations: 1.125 kB / 1.171 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.173e-06/1.037, allocations: 0 / 1.171 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.037, allocations: 0 / 1.171 GB, free: 0.543 MB / 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.001481/1.039, allocations: 0.6976 MB / 1.172 GB, free: 20 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/1.039, allocations: 10.61 kB / 1.172 GB, free: 20 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/1.042, allocations: 271.3 kB / 1.172 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/1.042, allocations: 291.2 kB / 1.172 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/1.042, allocations: 23.44 kB / 1.172 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/1.042, allocations: 27.03 kB / 1.172 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/1.044, allocations: 430.8 kB / 1.173 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.044, allocations: 0 / 1.173 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/1.044, allocations: 10.28 kB / 1.173 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/1.044, allocations: 10.28 kB / 1.173 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/1.046, allocations: 0.5294 MB / 1.173 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003064/1.049, allocations: 1.145 MB / 1.174 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/1.051, allocations: 459.1 kB / 1.175 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/1.052, allocations: 230.2 kB / 1.175 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/1.052, allocations: 3.25 kB / 1.175 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/1.052, allocations: 41 kB / 1.175 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=25): time 1.734e-06/1.052, allocations: 0 / 1.175 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=25): time 0.01541/1.068, allocations: 1.735 MB / 1.177 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/1.068, allocations: 55.03 kB / 1.177 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/1.068, allocations: 301.7 kB / 1.177 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/1.068, allocations: 35.06 kB / 1.177 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/1.068, allocations: 169.9 kB / 1.177 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.784e-05/1.069, allocations: 88.36 kB / 1.177 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/1.069, allocations: 83.95 kB / 1.177 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.069, allocations: 337.7 kB / 1.178 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009947/1.07, allocations: 198.1 kB / 1.178 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.071, allocations: 261.5 kB / 1.178 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/1.073, allocations: 436.9 kB / 1.179 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.073, allocations: 0 / 1.179 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006659/1.08, allocations: 0.8942 MB / 1.18 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.08, allocations: 4.375 kB / 1.18 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.08, allocations: 1.25 kB / 1.18 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/1.082, allocations: 283.6 kB / 1.18 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/1.082, allocations: 62.92 kB / 1.18 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/1.097, allocations: 4.096 MB / 1.184 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/1.097, allocations: 79.06 kB / 1.184 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/1.097, allocations: 18.62 kB / 1.184 GB, free: 7.551 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.0002144/1.098, allocations: 137 kB / 1.184 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-05/1.098, allocations: 34.31 kB / 1.184 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006886/1.105, allocations: 0.9537 MB / 1.185 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.105, allocations: 2.969 kB / 1.185 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/1.105, allocations: 0 / 1.185 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.105, allocations: 0 / 1.185 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005518/1.105, allocations: 423.4 kB / 1.185 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.105, allocations: 4.812 kB / 1.185 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/1.106, allocations: 61.12 kB / 1.186 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/1.107, allocations: 275.3 kB / 1.186 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/1.107, allocations: 14.88 kB / 1.186 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/1.121, allocations: 4.088 MB / 1.19 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.121, allocations: 0 / 1.19 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0067/1.128, allocations: 0.9541 MB / 1.191 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/1.128, allocations: 108.2 kB / 1.191 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/1.128, allocations: 10.06 kB / 1.191 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006886/1.129, allocations: 45.52 kB / 1.191 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/1.129, allocations: 23.44 kB / 1.191 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/1.129, allocations: 11.33 kB / 1.191 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002262/1.129, allocations: 238.4 kB / 1.191 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.129, allocations: 0 / 1.191 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005398/1.13, allocations: 114.1 kB / 1.191 GB, free: 1.863 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.0002162/1.13, allocations: 114.2 kB / 1.191 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00268/1.133, allocations: 0.7402 MB / 1.192 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.133, allocations: 0 / 1.192 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/1.134, allocations: 0.4992 MB / 1.193 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/1.135, allocations: 112.1 kB / 1.193 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/1.137, allocations: 0.7175 MB / 1.193 GB, free: 384 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/1.138, allocations: 0.7731 MB / 1.194 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/1.138, allocations: 36.61 kB / 1.194 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.138, allocations: 0 / 1.194 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.01099/1.149, allocations: 8.308 MB / 1.202 GB, free: 11.24 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 -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