Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_10_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.001431/0.001431, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 195 kB / 16.53 MB, free: 6.391 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.145/1.145, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.338/2.338, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.513/0.5142, allocations: 151.6 MB / 1.017 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002373/0.5166, allocations: 1.665 MB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.5183, allocations: 1.37 MB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.079e-05/0.5184, allocations: 11.94 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.5187, allocations: 79.58 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.5189, allocations: 75.45 kB / 1.021 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.5195, allocations: 287.2 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.5197, allocations: 179.2 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.5197, allocations: 17.47 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.5198, allocations: 79.64 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.5199, allocations: 83.66 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.52, allocations: 8 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.5204, allocations: 339.4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.5205, allocations: 67.73 kB / 1.022 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.115e-05/0.5206, allocations: 87.48 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004133/0.521, allocations: 395 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.521, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.521, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.521, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 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.0007328/0.5218, allocations: 0.5568 MB / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.5218, allocations: 12.03 kB / 1.023 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.5218, allocations: 38.69 kB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.5219, allocations: 24.66 kB / 1.023 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.5222, allocations: 271.7 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.402e-05/0.5223, allocations: 63.95 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.5223, allocations: 8.375 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.5225, allocations: 89.59 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.5225, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.5226, allocations: 4 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.5226, allocations: 0 / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.5228, allocations: 103.9 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/0.523, allocations: 253.3 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.5243, allocations: 290.4 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.5244, allocations: 60.83 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.5246, allocations: 101 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.5246, allocations: 42.56 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.5246, allocations: 0 / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004312/0.525, allocations: 205.3 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.5251, allocations: 55.41 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.5253, allocations: 303 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.5253, allocations: 33.7 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.5254, allocations: 124.5 kB / 1.025 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.5254, allocations: 15.72 kB / 1.025 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.5255, allocations: 61.62 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.5256, allocations: 334.8 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.5258, allocations: 159.9 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.526, allocations: 151.9 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.5263, allocations: 297.4 kB / 1.026 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5263, allocations: 0 / 1.026 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005093/0.5269, allocations: 408.7 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.5269, allocations: 9.562 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5269, allocations: 0 / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5269, allocations: 7.969 kB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.527, allocations: 12 kB / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.527, allocations: 0 / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.5271, allocations: 39.52 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.5271, allocations: 4 kB / 1.026 GB, free: 9.582 MB / 0.7794 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.77e-05/0.5272, allocations: 126.5 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.5273, allocations: 27.66 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.5276, allocations: 171.5 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5276, allocations: 4 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5276, allocations: 0 / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5276, allocations: 4.297 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.5278, allocations: 233.5 kB / 1.027 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5278, allocations: 7.938 kB / 1.027 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.5279, allocations: 15.98 kB / 1.027 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5279, allocations: 0 / 1.027 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.5279, allocations: 0 / 1.027 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5279, allocations: 0 / 1.027 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5279, allocations: 4 kB / 1.027 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.5282, allocations: 184.7 kB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.5283, allocations: 108.8 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.5283, allocations: 0 / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.5284, allocations: 15.98 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.5284, allocations: 4 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.5285, allocations: 0 / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00015/0.5286, allocations: 201.9 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5286, allocations: 0 / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003313/0.529, allocations: 104 kB / 1.027 GB, free: 8.297 MB / 0.7794 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.0008301/0.5298, allocations: 0.8852 MB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.5302, allocations: 359.3 kB / 1.028 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5303, allocations: 3.938 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.5304, allocations: 63.91 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.5307, allocations: 32.88 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.5332, allocations: 2.673 MB / 1.031 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.5335, allocations: 0.7357 MB / 1.032 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.439e-05/0.5336, allocations: 21.06 kB / 1.032 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.5336, allocations: 63.41 kB / 1.032 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5336, allocations: 0 / 1.032 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2589/0.7926, allocations: 5.732 MB / 1.037 GB, free: 13.74 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.462, allocations: 5.547 kB / 1.037 GB, free: 13.74 MB / 0.795 GB (rm -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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]