Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00131/0.00131, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.353/2.353, allocations: 409.4 MB / 0.684 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002987, allocations: 8 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5629/0.5632, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002237/0.5654, allocations: 1.919 MB / 0.983 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1379/0.7033, allocations: 138.1 MB / 1.118 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.7036, allocations: 4 kB / 1.118 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.7037, allocations: 31.66 kB / 1.118 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.704, allocations: 87.38 kB / 1.118 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.7046, allocations: 251.2 kB / 1.118 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003903/0.705, allocations: 367.8 kB / 1.119 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.7052, allocations: 82.03 kB / 1.119 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.7056, allocations: 207.5 kB / 1.119 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.7059, allocations: 151.4 kB / 1.119 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.7059, allocations: 12 kB / 1.119 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.7064, allocations: 251.6 kB / 1.119 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/0.7065, allocations: 59.73 kB / 1.119 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 6.685e-05/0.7066, allocations: 77.58 kB / 1.119 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.707, allocations: 345.4 kB / 1.12 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.707, allocations: 4 kB / 1.12 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.633e-06/0.707, allocations: 0 / 1.12 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.707, allocations: 0 / 1.12 GB, free: 7.965 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.001224/0.7082, allocations: 0.6588 MB / 1.12 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.7083, allocations: 8.031 kB / 1.12 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.092e-05/0.7083, allocations: 66.47 kB / 1.12 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/0.7109, allocations: 251.3 kB / 1.121 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.7113, allocations: 283.4 kB / 1.121 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.7113, allocations: 28.56 kB / 1.121 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.7114, allocations: 31.94 kB / 1.121 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.7128, allocations: 428.5 kB / 1.121 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.7128, allocations: 4 kB / 1.121 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.7128, allocations: 8 kB / 1.121 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.7129, allocations: 8 kB / 1.121 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.715, allocations: 0.5291 MB / 1.122 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.7179, allocations: 1.143 MB / 1.123 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.7199, allocations: 462.7 kB / 1.123 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009384/0.7209, allocations: 232.8 kB / 1.124 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.7209, allocations: 7.984 kB / 1.124 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.721, allocations: 30.56 kB / 1.124 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/0.721, allocations: 0 / 1.124 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25): time 0.01385/0.7348, allocations: 1.722 MB / 1.125 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.7349, allocations: 55.41 kB / 1.125 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.7352, allocations: 308.5 kB / 1.126 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.7353, allocations: 33.7 kB / 1.126 GB, free: 1.465 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.7354, allocations: 164.2 kB / 1.126 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.7355, allocations: 86.75 kB / 1.126 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.7355, allocations: 4 kB / 1.126 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.7357, allocations: 346.7 kB / 1.126 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009318/0.7366, allocations: 200.4 kB / 1.127 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009702/0.7376, allocations: 270.9 kB / 1.127 GB, free: 392 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00096/0.7386, allocations: 219.9 kB / 1.127 GB, free: 172 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7386, allocations: 3.953 kB / 1.127 GB, free: 168 kB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006072/0.7447, allocations: 0.8893 MB / 1.128 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.7447, allocations: 4 kB / 1.128 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.7447, allocations: 0 / 1.128 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.7463, allocations: 285.4 kB / 1.128 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.7468, allocations: 71.88 kB / 1.128 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.7587, allocations: 3.773 MB / 1.132 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007016/0.7594, allocations: 79.58 kB / 1.132 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.7594, allocations: 15.97 kB / 1.132 GB, free: 10.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.7596, allocations: 141.8 kB / 1.132 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.7597, allocations: 35.61 kB / 1.132 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006353/0.7661, allocations: 0.9455 MB / 1.133 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.7661, allocations: 7.984 kB / 1.133 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.7661, allocations: 0 / 1.133 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7661, allocations: 0 / 1.133 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.7666, allocations: 425 kB / 1.134 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.7666, allocations: 4 kB / 1.134 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.7671, allocations: 59.89 kB / 1.134 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.7687, allocations: 277.4 kB / 1.134 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/0.7687, allocations: 11.97 kB / 1.134 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/0.7806, allocations: 3.762 MB / 1.138 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7806, allocations: 0 / 1.138 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00609/0.7867, allocations: 0.9531 MB / 1.138 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.573e-05/0.7869, allocations: 120.6 kB / 1.139 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.7869, allocations: 4 kB / 1.139 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000667/0.7876, allocations: 47.95 kB / 1.139 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.7877, allocations: 23.91 kB / 1.139 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.7877, allocations: 23.92 kB / 1.139 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002223/0.788, allocations: 223.1 kB / 1.139 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/0.788, allocations: 0 / 1.139 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005531/0.7885, allocations: 112 kB / 1.139 GB, free: 3.234 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006453/0.795, allocations: 1.506 MB / 1.14 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002452/0.7974, allocations: 0.7351 MB / 1.141 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7975, allocations: 0 / 1.141 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.7988, allocations: 0.505 MB / 1.142 GB, free: 412 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/0.7995, allocations: 113.2 kB / 1.142 GB, free: 300 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.8099, allocations: 2.611 MB / 1.144 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.8102, allocations: 0.7686 MB / 1.145 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005305/0.8108, allocations: 82.86 kB / 1.145 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.811, allocations: 99.39 kB / 1.145 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/0.811, allocations: 0 / 1.145 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.8401, allocations: 15.68 MB / 1.161 GB, free: 13.19 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.8403, allocations: 211.2 kB / 1.161 GB, free: 12.95 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.861, allocations: 3.938 kB / 1.161 GB, free: 12.94 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat does not exist to compare? outputFormat=mat