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.001142/0.001142, 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.001265/0.001265, allocations: 199.9 kB / 16.14 MB, free: 6.645 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.559 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.216/2.216, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6028/0.604, allocations: 140.4 MB / 0.949 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.00227/0.6063, allocations: 1.728 MB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.6079, allocations: 1.403 MB / 0.9521 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.608, allocations: 4.219 kB / 0.9521 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.6083, allocations: 82.61 kB / 0.9522 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.6085, allocations: 71.08 kB / 0.9522 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.609, allocations: 225.3 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.6092, allocations: 262.5 kB / 0.9527 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.6092, allocations: 8.156 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.6093, allocations: 82.05 kB / 0.9528 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.6094, allocations: 94.88 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.6094, allocations: 6.188 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.6099, allocations: 350.5 kB / 0.9532 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/0.61, allocations: 70.27 kB / 0.9533 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.6101, allocations: 84.3 kB / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.6105, allocations: 407 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6105, allocations: 1.281 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6105, allocations: 0 / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.6105, allocations: 0 / 0.9538 GB, free: 5.695 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.0007264/0.6113, allocations: 0.5435 MB / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6113, allocations: 14.09 kB / 0.9543 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.647e-05/0.6113, allocations: 39.62 kB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.6114, allocations: 21.56 kB / 0.9544 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.6117, allocations: 283.6 kB / 0.9546 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-05/0.6118, allocations: 62.81 kB / 0.9547 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.6118, allocations: 2.562 kB / 0.9547 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.612, allocations: 96.08 kB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.612, allocations: 0 / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.6121, allocations: 1.156 kB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.6121, allocations: 0 / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.6123, allocations: 103.7 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.6125, allocations: 254.5 kB / 0.9551 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.6139, allocations: 304.6 kB / 0.9554 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.6141, allocations: 57.27 kB / 0.9555 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.6142, allocations: 100.8 kB / 0.9556 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.6142, allocations: 31.69 kB / 0.9556 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.6142, allocations: 0 / 0.9556 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004493/0.6147, allocations: 209 kB / 0.9558 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.6147, allocations: 57.11 kB / 0.9559 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.6149, allocations: 304.3 kB / 0.9562 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.6149, allocations: 25.7 kB / 0.9562 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.615, allocations: 128.7 kB / 0.9563 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.615, allocations: 14.55 kB / 0.9563 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.6151, allocations: 59.72 kB / 0.9564 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.6151, allocations: 337.7 kB / 0.9567 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.6153, allocations: 156 kB / 0.9568 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.6155, allocations: 157.4 kB / 0.957 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.6159, allocations: 292.4 kB / 0.9573 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6159, allocations: 3.938 kB / 0.9573 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000539/0.6165, allocations: 403.7 kB / 0.9577 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.6165, allocations: 8.219 kB / 0.9577 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6165, allocations: 1.781 kB / 0.9577 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.6165, allocations: 0.8438 kB / 0.9577 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.744e-05/0.6166, allocations: 15.95 kB / 0.9577 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6166, allocations: 0 / 0.9577 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.6168, allocations: 35.69 kB / 0.9577 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.6168, allocations: 6.75 kB / 0.9577 GB, free: 2.789 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 8.273e-05/0.6169, allocations: 134.7 kB / 0.9579 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.6169, allocations: 23.81 kB / 0.9579 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.6172, allocations: 163.7 kB / 0.958 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.6172, allocations: 1.125 kB / 0.958 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6173, allocations: 1.125 kB / 0.958 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6173, allocations: 0 / 0.958 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.6174, allocations: 237.5 kB / 0.9583 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6174, allocations: 4.781 kB / 0.9583 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/0.6175, allocations: 15.61 kB / 0.9583 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6175, allocations: 0.6875 kB / 0.9583 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6175, allocations: 1.094 kB / 0.9583 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.6175, allocations: 4 kB / 0.9583 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6176, allocations: 1.156 kB / 0.9583 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.6179, allocations: 186.3 kB / 0.9585 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.6179, allocations: 111.9 kB / 0.9586 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.618, allocations: 5.125 kB / 0.9586 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.043e-05/0.6181, allocations: 3.25 kB / 0.9586 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.6181, allocations: 7.266 kB / 0.9586 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.6181, allocations: 2.188 kB / 0.9586 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000147/0.6183, allocations: 201 kB / 0.9588 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6183, allocations: 0 / 0.9588 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003741/0.6186, allocations: 112.3 kB / 0.9589 GB, free: 1.91 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.0008049/0.6195, allocations: 0.8884 MB / 0.9598 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004769/0.6199, allocations: 355.3 kB / 0.9601 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.62, allocations: 4 kB / 0.9601 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.6201, allocations: 62.34 kB / 0.9602 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.6204, allocations: 26.95 kB / 0.9602 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.6231, allocations: 2.689 MB / 0.9628 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.6234, allocations: 0.74 MB / 0.9635 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000102/0.6235, allocations: 22.91 kB / 0.9636 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.6236, allocations: 54.61 kB / 0.9636 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of SimCode: time 1.944e-06/0.6236, allocations: 1.156 kB / 0.9636 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.6447, allocations: 5.512 MB / 0.969 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.6449, allocations: 217.6 kB / 0.9692 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/2.814, allocations: 0 / 0.9692 GB, free: 11.5 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]