Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.0008616/0.0008616, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005066/0.005066, allocations: 169 kB / 16.26 MB, free: 6.66 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.144/2.144, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002825, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5198/0.52, allocations: 142.4 MB / 0.9552 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001421/0.5215, allocations: 1.383 MB / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.5231, allocations: 1.386 MB / 0.9579 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.5233, allocations: 3.719 kB / 0.9579 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.5236, allocations: 80.55 kB / 0.958 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.5237, allocations: 66.19 kB / 0.958 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.5243, allocations: 225.7 kB / 0.9582 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.5245, allocations: 257.9 kB / 0.9585 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.5246, allocations: 15.94 kB / 0.9585 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.5247, allocations: 83.73 kB / 0.9586 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.5248, allocations: 81.67 kB / 0.9586 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.5248, allocations: 4.969 kB / 0.9587 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.5253, allocations: 355.5 kB / 0.959 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.5254, allocations: 67.23 kB / 0.9591 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.98e-05/0.5255, allocations: 122.2 kB / 0.9592 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.5259, allocations: 399 kB / 0.9596 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5259, allocations: 0 / 0.9596 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5259, allocations: 4 kB / 0.9596 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.5259, allocations: 0 / 0.9596 GB, free: 4.402 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006693/0.5266, allocations: 0.5248 MB / 0.9601 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5267, allocations: 13.81 kB / 0.9601 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.662e-05/0.5267, allocations: 32.16 kB / 0.9601 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.5267, allocations: 25.42 kB / 0.9601 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.527, allocations: 279.4 kB / 0.9604 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.469e-05/0.5271, allocations: 64.34 kB / 0.9605 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.5271, allocations: 6.375 kB / 0.9605 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.5273, allocations: 97.86 kB / 0.9606 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.5273, allocations: 0 / 0.9606 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.5274, allocations: 1.156 kB / 0.9606 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5274, allocations: 0 / 0.9606 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.5276, allocations: 111.9 kB / 0.9607 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.5278, allocations: 245.5 kB / 0.9609 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.529, allocations: 340.2 kB / 0.9612 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.5291, allocations: 64.36 kB / 0.9613 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.876e-05/0.5293, allocations: 105 kB / 0.9614 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.049e-05/0.5293, allocations: 31.59 kB / 0.9614 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.5293, allocations: 0 / 0.9614 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004181/0.5297, allocations: 219.5 kB / 0.9616 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.759e-05/0.5297, allocations: 52.91 kB / 0.9617 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.5299, allocations: 304.2 kB / 0.962 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.53, allocations: 26.98 kB / 0.962 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.53, allocations: 119.9 kB / 0.9621 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.53, allocations: 22.05 kB / 0.9621 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.5301, allocations: 47 kB / 0.9622 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.5301, allocations: 328.9 kB / 0.9625 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.5303, allocations: 162.7 kB / 0.9626 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.5305, allocations: 163.3 kB / 0.9628 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.5308, allocations: 296.8 kB / 0.9631 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5309, allocations: 0 / 0.9631 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004657/0.5313, allocations: 411.2 kB / 0.9635 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.5314, allocations: 5.125 kB / 0.9635 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.5314, allocations: 2.844 kB / 0.9635 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.5314, allocations: 3.938 kB / 0.9635 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.494e-05/0.5315, allocations: 16.33 kB / 0.9635 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.5315, allocations: 1.062 kB / 0.9635 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.5316, allocations: 36.31 kB / 0.9635 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.5316, allocations: 3.531 kB / 0.9635 GB, free: 1.516 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.175e-05/0.5317, allocations: 134 kB / 0.9637 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.5317, allocations: 24.25 kB / 0.9637 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.532, allocations: 175.2 kB / 0.9639 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.532, allocations: 2.656 kB / 0.9639 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.532, allocations: 0 / 0.9639 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.532, allocations: 0 / 0.9639 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.5322, allocations: 243.6 kB / 0.9641 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5322, allocations: 3.938 kB / 0.9641 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.678e-05/0.5323, allocations: 14.77 kB / 0.9641 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5323, allocations: 3.938 kB / 0.9641 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.5323, allocations: 0 / 0.9641 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5323, allocations: 8 kB / 0.9641 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5323, allocations: 3.938 kB / 0.9641 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.5326, allocations: 181.7 kB / 0.9643 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.5326, allocations: 119.9 kB / 0.9644 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.5326, allocations: 1.031 kB / 0.9644 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/0.5327, allocations: 3.969 kB / 0.9644 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.5328, allocations: 15.39 kB / 0.9644 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.5328, allocations: 1.344 kB / 0.9644 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001334/0.5329, allocations: 193.6 kB / 0.9646 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5329, allocations: 1.312 kB / 0.9646 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003624/0.5333, allocations: 116 kB / 0.9647 GB, free: 0.6172 MB / 0.7169 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000772/0.5341, allocations: 0.8848 MB / 0.9656 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004673/0.5345, allocations: 358.5 kB / 0.9659 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5346, allocations: 3.938 kB / 0.9659 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.5347, allocations: 68.19 kB / 0.966 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.535, allocations: 26.55 kB / 0.966 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.5377, allocations: 2.725 MB / 0.9687 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.538, allocations: 0.7319 MB / 0.9694 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.612e-05/0.538, allocations: 23.39 kB / 0.9694 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.5381, allocations: 59.09 kB / 0.9695 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of SimCode: time 1.512e-06/0.5381, allocations: 0 / 0.9695 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.898/3.436, allocations: 5.413 MB / 0.9748 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/3.437, allocations: 218.7 kB / 0.975 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/5.337, allocations: 0 / 0.975 GB, free: 10.3 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TExa,TMonotone,TdMonotone[1],TdMonotone[2],TdMonotone[3],TdMonotone[4],TdMonotone[5],TdMonotone[6],Td[1],Td[2],Td[3],Td[4],Td[5],Td[6],dTCha,dT_duMonotone[1],dT_duMonotone[2],dT_duMonotone[3],dT_duMonotone[4],dT_duMonotone[5],dT_duMonotone[6],dT_du[1],dT_du[2],dT_du[3],dT_du[4],dT_du[5],dT_du[6],errMonotone,errNonMonotone,materialMonotone.LHea,materialMonotone.R,materialMonotone.TLiq,materialMonotone.TSol,materialMonotone.c,materialMonotone.d,materialMonotone.k,materialMonotone.nSta,materialMonotone.nStaReal,materialMonotone.nStaRef,materialMonotone.piMat,materialMonotone.piRef,materialMonotone.steadyState,materialMonotone.x,materialNonMonotone.LHea,materialNonMonotone.R,materialNonMonotone.TLiq,materialNonMonotone.TSol,materialNonMonotone.c,materialNonMonotone.d,materialNonMonotone.k,materialNonMonotone.nSta,materialNonMonotone.nStaReal,materialNonMonotone.nStaRef,materialNonMonotone.piMat,materialNonMonotone.piRef,materialNonMonotone.steadyState,materialNonMonotone.x,time,u,udMonotone[1],udMonotone[2],udMonotone[3],udMonotone[4],udMonotone[5],udMonotone[6],ud[1],ud[2],ud[3],ud[4],ud[5],ud[6]