Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8568/0.8568, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.687/1.687, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.349e-05, allocations: 2.281 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.543/0.5431, allocations: 142.3 MB / 1.12 GB, free: 16.84 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003429/0.5465, allocations: 3.25 MB / 1.123 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.5468, allocations: 18.56 kB / 1.123 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.5472, allocations: 132.2 kB / 1.123 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.5482, allocations: 470.8 kB / 1.124 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.5497, allocations: 0.6377 MB / 1.124 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006247/0.5503, allocations: 0.6235 MB / 1.125 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.5506, allocations: 183.7 kB / 1.125 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.552, allocations: 0.5819 MB / 1.126 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.5522, allocations: 169.6 kB / 1.126 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.5523, allocations: 21.75 kB / 1.126 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007576/0.553, allocations: 479 kB / 1.126 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.063e-05/0.5531, allocations: 96.42 kB / 1.126 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/0.5532, allocations: 98.59 kB / 1.127 GB, free: 13.11 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007394/0.5539, allocations: 0.5777 MB / 1.127 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.5539, allocations: 4.594 kB / 1.127 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5539, allocations: 0 / 1.127 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.554, allocations: 0 / 1.127 GB, free: 12.91 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008142/0.5548, allocations: 0.5692 MB / 1.128 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.5548, allocations: 13.25 kB / 1.128 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.5549, allocations: 53.61 kB / 1.128 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.5553, allocations: 89.55 kB / 1.128 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.5557, allocations: 250.9 kB / 1.128 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.5557, allocations: 13.28 kB / 1.128 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.5557, allocations: 20.38 kB / 1.128 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.5562, allocations: 371.6 kB / 1.128 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5562, allocations: 1.219 kB / 1.128 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.5563, allocations: 6.375 kB / 1.128 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.5563, allocations: 4.875 kB / 1.128 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.5567, allocations: 251.6 kB / 1.129 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009926/0.5577, allocations: 0.9764 MB / 1.13 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.558, allocations: 168.5 kB / 1.13 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.5582, allocations: 116 kB / 1.13 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003133/0.5585, allocations: 76.44 kB / 1.13 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.5585, allocations: 40.47 kB / 1.13 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/0.5585, allocations: 0 / 1.13 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14): time 0.001292/0.5598, allocations: 0.4928 MB / 1.13 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.5598, allocations: 57.67 kB / 1.131 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.56, allocations: 269.3 kB / 1.131 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.56, allocations: 30.8 kB / 1.131 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.5601, allocations: 168.1 kB / 1.131 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.5601, allocations: 52.45 kB / 1.131 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.5602, allocations: 39.12 kB / 1.131 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.5602, allocations: 336.7 kB / 1.131 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.5604, allocations: 92.09 kB / 1.131 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.5606, allocations: 164 kB / 1.132 GB, free: 9.957 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.5609, allocations: 238.6 kB / 1.132 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5609, allocations: 5.125 kB / 1.132 GB, free: 9.852 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006463/0.5616, allocations: 346.9 kB / 1.132 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5616, allocations: 5.938 kB / 1.132 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5616, allocations: 1.219 kB / 1.132 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003335/0.5619, allocations: 90.03 kB / 1.132 GB, free: 9.711 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.5621, allocations: 47.19 kB / 1.132 GB, free: 9.703 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.5634, allocations: 1.615 MB / 1.134 GB, free: 8.293 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.5635, allocations: 37.75 kB / 1.134 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.5636, allocations: 6.203 kB / 1.134 GB, free: 8.277 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.5637, allocations: 147.3 kB / 1.134 GB, free: 8.145 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.5637, allocations: 27.47 kB / 1.134 GB, free: 8.129 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.5643, allocations: 366.4 kB / 1.134 GB, free: 7.996 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5643, allocations: 2.75 kB / 1.134 GB, free: 7.996 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.5643, allocations: 4.562 kB / 1.134 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5643, allocations: 0.6094 kB / 1.134 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009441/0.5653, allocations: 0.7183 MB / 1.135 GB, free: 7.559 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5653, allocations: 2.078 kB / 1.135 GB, free: 7.559 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/0.5654, allocations: 33.55 kB / 1.135 GB, free: 7.559 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.5656, allocations: 82.97 kB / 1.135 GB, free: 7.535 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.5656, allocations: 7.094 kB / 1.135 GB, free: 7.531 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.5666, allocations: 1.634 MB / 1.137 GB, free: 6.105 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5667, allocations: 1.984 kB / 1.137 GB, free: 6.105 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.5672, allocations: 448.4 kB / 1.137 GB, free: 5.863 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/0.5673, allocations: 49.69 kB / 1.137 GB, free: 5.836 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.5673, allocations: 6.859 kB / 1.137 GB, free: 5.832 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.5675, allocations: 23.47 kB / 1.137 GB, free: 5.828 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.5675, allocations: 27.12 kB / 1.137 GB, free: 5.816 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.5676, allocations: 5.797 kB / 1.137 GB, free: 5.816 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001236/0.5677, allocations: 186.6 kB / 1.138 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.5677, allocations: 1.75 kB / 1.138 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003466/0.568, allocations: 83.14 kB / 1.138 GB, free: 5.691 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008722/0.5689, allocations: 1.034 MB / 1.139 GB, free: 4.895 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005915/0.5695, allocations: 360.9 kB / 1.139 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5695, allocations: 256 / 1.139 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.5698, allocations: 255.7 kB / 1.139 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.5703, allocations: 120.3 kB / 1.139 GB, free: 4.539 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.5733, allocations: 2.81 MB / 1.142 GB, free: 2.746 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.5735, allocations: 164.7 kB / 1.142 GB, free: 2.66 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.5737, allocations: 65.25 kB / 1.142 GB, free: 2.645 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.5738, allocations: 76.67 kB / 1.142 GB, free: 2.59 MB / 0.9948 GB Notification: Performance of SimCode: time 1.222e-06/0.5738, allocations: 0 / 1.142 GB, free: 2.59 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0318/0.6056, allocations: 9.666 MB / 1.152 GB, free: 1.031 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/8.135, allocations: 7.844 kB / 1.152 GB, free: 1.027 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.067110780626535]