Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.005798/0.005798, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.001254/0.001254, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.151/2.151, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 61.69 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2714, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00347/0.2749, allocations: 2.308 MB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.4268, allocations: 152 MB / 1.239 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.4271, allocations: 0 / 1.239 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.4274, allocations: 47.47 kB / 1.239 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003871/0.4278, allocations: 99.19 kB / 1.239 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008116/0.4286, allocations: 307 kB / 1.239 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005321/0.4292, allocations: 427.8 kB / 1.239 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.4294, allocations: 105.3 kB / 1.24 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.4307, allocations: 304.9 kB / 1.24 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.431, allocations: 179.2 kB / 1.24 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.4311, allocations: 32 kB / 1.24 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005446/0.4316, allocations: 279.6 kB / 1.24 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.4317, allocations: 83.72 kB / 1.24 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.4319, allocations: 159.2 kB / 1.241 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.4326, allocations: 0.4946 MB / 1.241 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4326, allocations: 0 / 1.241 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4326, allocations: 0 / 1.241 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.4326, allocations: 0 / 1.241 GB, free: 4.145 MB / 0.9981 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.001404/0.434, allocations: 0.6939 MB / 1.242 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.434, allocations: 16.03 kB / 1.242 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002655/0.4367, allocations: 259.5 kB / 1.242 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.4371, allocations: 311.1 kB / 1.242 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.4371, allocations: 20.56 kB / 1.242 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.4372, allocations: 24 kB / 1.242 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.4385, allocations: 436.5 kB / 1.243 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4385, allocations: 0 / 1.243 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.4386, allocations: 8 kB / 1.243 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.4386, allocations: 11.94 kB / 1.243 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.4408, allocations: 0.5213 MB / 1.243 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.4437, allocations: 1.124 MB / 1.244 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.4459, allocations: 458.3 kB / 1.245 GB, free: 140 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.4469, allocations: 232.7 kB / 1.245 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.4469, allocations: 8.375 kB / 1.245 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.4469, allocations: 38.56 kB / 1.245 GB, free: 15.85 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 2.675e-06/0.4469, allocations: 0 / 1.245 GB, free: 15.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.01564/0.4626, allocations: 1.727 MB / 1.247 GB, free: 14.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4627, allocations: 67.27 kB / 1.247 GB, free: 14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.463, allocations: 300.5 kB / 1.247 GB, free: 13.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/0.463, allocations: 33.7 kB / 1.247 GB, free: 13.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4632, allocations: 176.2 kB / 1.247 GB, free: 13.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/0.4633, allocations: 82.81 kB / 1.247 GB, free: 13.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.4634, allocations: 73.92 kB / 1.247 GB, free: 13.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4635, allocations: 342.8 kB / 1.248 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009704/0.4645, allocations: 200.4 kB / 1.248 GB, free: 12.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009986/0.4655, allocations: 258.9 kB / 1.248 GB, free: 12.51 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.4675, allocations: 434.8 kB / 1.249 GB, free: 12.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.4675, allocations: 0 / 1.249 GB, free: 12.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006871/0.4744, allocations: 0.8966 MB / 1.249 GB, free: 11.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4744, allocations: 8 kB / 1.249 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4744, allocations: 0 / 1.249 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.4762, allocations: 277.4 kB / 1.25 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.4767, allocations: 67.88 kB / 1.25 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/0.4904, allocations: 4.09 MB / 1.254 GB, free: 6.441 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007995/0.4912, allocations: 71.61 kB / 1.254 GB, free: 6.371 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.4912, allocations: 15.97 kB / 1.254 GB, free: 6.355 MB / 1.014 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.0001954/0.4914, allocations: 146.9 kB / 1.254 GB, free: 6.203 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.4915, allocations: 31.62 kB / 1.254 GB, free: 6.172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006715/0.4982, allocations: 0.9572 MB / 1.255 GB, free: 5.207 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4983, allocations: 4 kB / 1.255 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.4983, allocations: 0 / 1.255 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4983, allocations: 0 / 1.255 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.4988, allocations: 436.5 kB / 1.255 GB, free: 4.727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4988, allocations: 0 / 1.255 GB, free: 4.727 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.4992, allocations: 55.89 kB / 1.255 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/0.5009, allocations: 281.4 kB / 1.256 GB, free: 4.391 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.5009, allocations: 15.97 kB / 1.256 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/0.5143, allocations: 4.08 MB / 1.26 GB, free: 8 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5144, allocations: 64 / 1.26 GB, free: 8 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5503/1.065, allocations: 0.9596 MB / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.065, allocations: 109.7 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.198e-05/1.065, allocations: 5.953 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007358/1.066, allocations: 43.78 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.066, allocations: 21.58 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/1.066, allocations: 18.11 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002651/1.066, allocations: 228 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.066, allocations: 0 / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006772/1.067, allocations: 115.9 kB / 1.261 GB, free: 174.2 MB / 1.014 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.0002685/1.067, allocations: 114.2 kB / 1.261 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002914/1.07, allocations: 0.7189 MB / 1.262 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.07, allocations: 0 / 1.262 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/1.072, allocations: 0.5046 MB / 1.262 GB, free: 173.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000749/1.072, allocations: 116.7 kB / 1.263 GB, free: 173.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/1.076, allocations: 0.6851 MB / 1.263 GB, free: 173.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/1.076, allocations: 0.7669 MB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005339/1.077, allocations: 75.08 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/1.077, allocations: 38.77 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.723e-06/1.077, allocations: 0.875 kB / 1.264 GB, free: 172.7 MB / 1.014 GB Notification: Performance of Templates: time 0.02785/1.105, allocations: 13.91 MB / 1.278 GB, free: 171.1 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches