Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan",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.008079/0.008079, allocations: 101.7 kB / 15.73 MB, free: 6.469 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.002302/0.002302, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 64.12 kB / 1.054 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3282, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.9698/1.298, allocations: 312.7 MB / 1.513 GB, free: 14.2 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.04233/1.34, allocations: 29.36 MB / 1.541 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004118/1.345, allocations: 79.62 kB / 1.541 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.007632/1.352, allocations: 2.393 MB / 1.544 GB, free: 14.27 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/1.363, allocations: 3.18 MB / 1.547 GB, free: 11.08 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.008464/1.372, allocations: 2.742 MB / 1.549 GB, free: 8.348 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01275/1.384, allocations: 7.556 MB / 1.557 GB, free: 0.7812 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003941/1.388, allocations: 2.091 MB / 1.559 GB, free: 14.65 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005884/1.394, allocations: 2.418 MB / 1.561 GB, free: 12.23 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003694/1.398, allocations: 1.526 MB / 1.563 GB, free: 10.7 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0008594/1.399, allocations: 252 kB / 1.563 GB, free: 10.46 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007986/1.407, allocations: 3.602 MB / 1.567 GB, free: 6.848 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001296/1.408, allocations: 0.8257 MB / 1.567 GB, free: 6.02 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002784/1.411, allocations: 1.4 MB / 1.569 GB, free: 4.613 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01051/1.422, allocations: 5.43 MB / 1.574 GB, free: 15.17 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.422, allocations: 4 kB / 1.574 GB, free: 15.16 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.663e-06/1.422, allocations: 0 / 1.574 GB, free: 15.16 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001431/1.422, allocations: 0 / 1.574 GB, free: 15.16 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.007562/1.429, allocations: 2.935 MB / 1.577 GB, free: 12.16 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.429, allocations: 12.62 kB / 1.577 GB, free: 12.14 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004695/1.43, allocations: 194.3 kB / 1.577 GB, free: 11.95 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006241/1.436, allocations: 0.9297 MB / 1.578 GB, free: 11.01 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0113/1.448, allocations: 5.738 MB / 1.584 GB, free: 5.219 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/1.448, allocations: 102.6 kB / 1.584 GB, free: 5.117 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004396/1.448, allocations: 136 kB / 1.584 GB, free: 4.984 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/1.452, allocations: 1.59 MB / 1.585 GB, free: 3.328 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/1.452, allocations: 0 / 1.585 GB, free: 3.328 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/1.452, allocations: 52 kB / 1.585 GB, free: 3.277 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.007e-05/1.453, allocations: 58.47 kB / 1.585 GB, free: 3.219 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003332/1.456, allocations: 1.325 MB / 1.587 GB, free: 1.887 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/1.468, allocations: 7.605 MB / 1.594 GB, free: 9.75 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/1.47, allocations: 0.6716 MB / 1.595 GB, free: 9.055 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000617/1.47, allocations: 256.7 kB / 1.595 GB, free: 8.801 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/1.47, allocations: 194.2 kB / 1.595 GB, free: 8.574 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/1.471, allocations: 39.16 kB / 1.595 GB, free: 8.527 MB / 1.279 GB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/1.471, allocations: 4 kB / 1.595 GB, free: 8.523 MB / 1.279 GB Notification: Performance of matching and sorting (n=35): time 0.002891/1.473, allocations: 1.04 MB / 1.596 GB, free: 7.434 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/1.473, allocations: 63.34 kB / 1.596 GB, free: 7.359 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/1.478, allocations: 2.36 MB / 1.599 GB, free: 4.98 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.128e-05/1.478, allocations: 37.7 kB / 1.599 GB, free: 4.938 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009431/1.479, allocations: 0.9613 MB / 1.6 GB, free: 3.965 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/1.479, allocations: 130.2 kB / 1.6 GB, free: 3.836 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004403/1.479, allocations: 254.3 kB / 1.6 GB, free: 3.578 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.479, allocations: 349.9 kB / 1.6 GB, free: 3.23 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/1.481, allocations: 0.5126 MB / 1.601 GB, free: 2.715 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/1.482, allocations: 0.7986 MB / 1.602 GB, free: 1.801 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/1.484, allocations: 1.116 MB / 1.603 GB, free: 0.5859 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/1.484, allocations: 8 kB / 1.603 GB, free: 0.5781 MB / 1.279 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003882/1.488, allocations: 1.625 MB / 1.604 GB, free: 14.92 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.488, allocations: 8 kB / 1.604 GB, free: 14.91 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/1.488, allocations: 8 kB / 1.604 GB, free: 14.91 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/1.488, allocations: 36.83 kB / 1.604 GB, free: 14.87 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/1.49, allocations: 239.9 kB / 1.605 GB, free: 14.63 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/1.491, allocations: 1.568 MB / 1.606 GB, free: 12.93 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/1.493, allocations: 250.1 kB / 1.606 GB, free: 12.68 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-05/1.493, allocations: 39.98 kB / 1.606 GB, free: 12.64 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002063/1.495, allocations: 1.01 MB / 1.607 GB, free: 11.63 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001298/1.497, allocations: 0.7874 MB / 1.608 GB, free: 10.73 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00204/1.499, allocations: 1.101 MB / 1.609 GB, free: 9.531 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.743e-06/1.499, allocations: 4 kB / 1.609 GB, free: 9.527 MB / 1.295 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003197/1.502, allocations: 1.611 MB / 1.611 GB, free: 7.883 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.502, allocations: 8 kB / 1.611 GB, free: 7.875 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.502, allocations: 4 kB / 1.611 GB, free: 7.871 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.41e-05/1.502, allocations: 37.22 kB / 1.611 GB, free: 7.832 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.503, allocations: 235.7 kB / 1.611 GB, free: 7.602 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/1.504, allocations: 1.572 MB / 1.613 GB, free: 5.891 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.506, allocations: 159.4 kB / 1.613 GB, free: 5.734 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-05/1.506, allocations: 39.98 kB / 1.613 GB, free: 5.695 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002748/1.507, allocations: 224 kB / 1.613 GB, free: 5.469 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004253/1.507, allocations: 217.2 kB / 1.613 GB, free: 5.254 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/1.509, allocations: 0.7523 MB / 1.614 GB, free: 4.465 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.509, allocations: 4 kB / 1.614 GB, free: 4.461 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.509, allocations: 4 kB / 1.614 GB, free: 4.457 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.509, allocations: 3.984 kB / 1.614 GB, free: 4.453 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/1.513, allocations: 2.156 MB / 1.616 GB, free: 2.195 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.513, allocations: 4 kB / 1.616 GB, free: 2.191 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/1.514, allocations: 100.1 kB / 1.616 GB, free: 2.094 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-05/1.514, allocations: 28.84 kB / 1.616 GB, free: 2.062 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/1.514, allocations: 12.06 kB / 1.616 GB, free: 2.051 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/1.515, allocations: 1.56 MB / 1.618 GB, free: 360 kB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.515, allocations: 11.92 kB / 1.618 GB, free: 348 kB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/1.517, allocations: 0.8927 MB / 1.619 GB, free: 15.38 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000705/1.518, allocations: 354.3 kB / 1.619 GB, free: 15.02 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/1.518, allocations: 8 kB / 1.619 GB, free: 15.01 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.52, allocations: 67.92 kB / 1.619 GB, free: 14.94 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/1.52, allocations: 31.84 kB / 1.619 GB, free: 14.91 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/1.52, allocations: 19.98 kB / 1.619 GB, free: 14.89 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.003066/1.523, allocations: 1.635 MB / 1.621 GB, free: 13.25 MB / 1.311 GB Notification: Performance of sort global known variables: time 5.81e-07/1.523, allocations: 4 kB / 1.621 GB, free: 13.24 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002737/1.526, allocations: 0.893 MB / 1.622 GB, free: 12.35 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002945/1.529, allocations: 1.773 MB / 1.623 GB, free: 10.5 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003793/1.532, allocations: 1.814 MB / 1.625 GB, free: 8.664 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.532, allocations: 4 kB / 1.625 GB, free: 8.66 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0006867/1.533, allocations: 348.2 kB / 1.625 GB, free: 8.309 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005083/1.538, allocations: 1.241 MB / 1.627 GB, free: 7.094 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02733/1.565, allocations: 14.7 MB / 1.641 GB, free: 7.941 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/1.567, allocations: 1.534 MB / 1.642 GB, free: 6.375 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.00208/1.569, allocations: 481.8 kB / 1.643 GB, free: 5.902 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.571, allocations: 0.7961 MB / 1.644 GB, free: 5.105 MB / 1.326 GB Notification: Performance of SimCode: time 1.242e-06/1.571, allocations: 0 / 1.644 GB, free: 5.105 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/1.678, allocations: 57.15 MB / 1.7 GB, free: 12.54 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/15.03, allocations: 14.16 kB / 1.7 GB, free: 12.53 MB / 1.389 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches