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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_10_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.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001294/0.001294, allocations: 193.4 kB / 16.14 MB, free: 6.691 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.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.416/2.416, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4826, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002967/0.4856, allocations: 2.356 MB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1356/0.6212, allocations: 149.7 MB / 1.165 GB, free: 10.12 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.6214, allocations: 7.938 kB / 1.165 GB, free: 10.11 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.6216, allocations: 35.66 kB / 1.165 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.6219, allocations: 91.36 kB / 1.165 GB, free: 9.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.6224, allocations: 259.2 kB / 1.166 GB, free: 9.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.6228, allocations: 403.8 kB / 1.166 GB, free: 9.332 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.623, allocations: 106.9 kB / 1.166 GB, free: 9.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.6247, allocations: 259.3 kB / 1.166 GB, free: 8.996 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.625, allocations: 175.2 kB / 1.166 GB, free: 8.824 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.625, allocations: 16 kB / 1.167 GB, free: 8.809 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004425/0.6255, allocations: 263.6 kB / 1.167 GB, free: 8.551 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.6256, allocations: 67.72 kB / 1.167 GB, free: 8.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.6257, allocations: 147.2 kB / 1.167 GB, free: 8.34 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.6262, allocations: 474.6 kB / 1.167 GB, free: 7.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6262, allocations: 0 / 1.167 GB, free: 7.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.22e-07/0.6262, allocations: 7.938 kB / 1.167 GB, free: 7.867 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.6262, allocations: 0 / 1.167 GB, free: 7.867 MB / 0.92 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.001379/0.6276, allocations: 0.7056 MB / 1.168 GB, free: 7.109 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.6277, allocations: 8.031 kB / 1.168 GB, free: 7.102 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.564e-05/0.6277, allocations: 62.72 kB / 1.168 GB, free: 7.031 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.6307, allocations: 263.3 kB / 1.168 GB, free: 6.773 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.631, allocations: 287.3 kB / 1.169 GB, free: 6.453 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.631, allocations: 20.56 kB / 1.169 GB, free: 6.434 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/0.6311, allocations: 28 kB / 1.169 GB, free: 6.406 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.6326, allocations: 428.5 kB / 1.169 GB, free: 5.984 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6326, allocations: 0 / 1.169 GB, free: 5.984 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.6327, allocations: 15.94 kB / 1.169 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.6327, allocations: 8 kB / 1.169 GB, free: 5.961 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.6351, allocations: 0.5252 MB / 1.17 GB, free: 5.438 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.6381, allocations: 1.135 MB / 1.171 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.6405, allocations: 462.4 kB / 1.171 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.6416, allocations: 228.7 kB / 1.171 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.6416, allocations: 4 kB / 1.171 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.6416, allocations: 46.48 kB / 1.172 GB, free: 3.504 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.302e-06/0.6417, allocations: 0 / 1.172 GB, free: 3.504 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.0171/0.6588, allocations: 1.725 MB / 1.173 GB, free: 1.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.6588, allocations: 55.41 kB / 1.173 GB, free: 1.664 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.6591, allocations: 308.4 kB / 1.174 GB, free: 1.359 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.6591, allocations: 37.64 kB / 1.174 GB, free: 1.316 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.6593, allocations: 168.2 kB / 1.174 GB, free: 1.148 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.971e-05/0.6593, allocations: 86.73 kB / 1.174 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.6595, allocations: 77.92 kB / 1.174 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6596, allocations: 342.7 kB / 1.174 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.6607, allocations: 204.4 kB / 1.174 GB, free: 448 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.6618, allocations: 258.9 kB / 1.175 GB, free: 168 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.664, allocations: 438.8 kB / 1.175 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.664, allocations: 0 / 1.175 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007321/0.6713, allocations: 0.8888 MB / 1.176 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6713, allocations: 7.984 kB / 1.176 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6713, allocations: 0 / 1.176 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.6733, allocations: 285.4 kB / 1.176 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.6738, allocations: 71.81 kB / 1.176 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.688, allocations: 3.783 MB / 1.18 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008424/0.6888, allocations: 79.56 kB / 1.18 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.6889, allocations: 19.97 kB / 1.18 GB, free: 10.31 MB / 0.9356 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.0001896/0.6891, allocations: 149.7 kB / 1.18 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.6892, allocations: 27.62 kB / 1.18 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007387/0.6966, allocations: 0.9396 MB / 1.181 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6966, allocations: 4 kB / 1.181 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6966, allocations: 7.938 kB / 1.181 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6966, allocations: 3.984 kB / 1.181 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.6971, allocations: 424.9 kB / 1.182 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6971, allocations: 8 kB / 1.182 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.6975, allocations: 47.95 kB / 1.182 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.6993, allocations: 277.4 kB / 1.182 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.6994, allocations: 19.91 kB / 1.182 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/0.7131, allocations: 3.778 MB / 1.186 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7131, allocations: 3.984 kB / 1.186 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007229/0.7204, allocations: 0.9547 MB / 1.187 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.7205, allocations: 108.7 kB / 1.187 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/0.7205, allocations: 15.98 kB / 1.187 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007658/0.7213, allocations: 39.89 kB / 1.187 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.7214, allocations: 23.92 kB / 1.187 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.7214, allocations: 19.97 kB / 1.187 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002203/0.7217, allocations: 227 kB / 1.187 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.583e-06/0.7217, allocations: 0 / 1.187 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005689/0.7223, allocations: 115.8 kB / 1.187 GB, free: 2.758 MB / 0.9356 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.007607/0.7299, allocations: 1.527 MB / 1.189 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002716/0.7326, allocations: 0.7118 MB / 1.189 GB, free: 472 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7326, allocations: 0 / 1.189 GB, free: 472 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.7342, allocations: 0.4972 MB / 1.19 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.7348, allocations: 103.8 kB / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/0.7543, allocations: 4.486 MB / 1.194 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.7546, allocations: 0.7723 MB / 1.195 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004749/0.7551, allocations: 78.88 kB / 1.195 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.7553, allocations: 99.38 kB / 1.195 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of SimCode: time 6.31e-07/0.7553, allocations: 0 / 1.195 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8534/1.609, allocations: 15.84 MB / 1.211 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/1.609, allocations: 222.7 kB / 1.211 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/3.632, allocations: 0 / 1.211 GB, free: 10.35 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger.fmu > 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