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.004625/0.004625, allocations: 98.17 kB / 15.73 MB, free: 6.055 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.001187/0.001187, allocations: 195.3 kB / 16.68 MB, free: 5.969 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.306/2.306, allocations: 437.1 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 63.98 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.618/0.6198, allocations: 151.6 MB / 1.166 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002382/0.6222, allocations: 1.671 MB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.624, allocations: 1.348 MB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.6241, allocations: 7.938 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.6244, allocations: 90.23 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.6246, allocations: 83.52 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005979/0.6252, allocations: 276.3 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.6254, allocations: 183.2 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.6254, allocations: 17.47 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.6255, allocations: 75.69 kB / 1.17 GB, free: 112 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.6256, allocations: 87.62 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.6257, allocations: 8 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005076/0.6262, allocations: 343.4 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.6263, allocations: 67.78 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.6264, allocations: 87.48 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.6268, allocations: 407.5 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.6269, allocations: 3.938 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6269, allocations: 0 / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.6269, allocations: 0 / 1.171 GB, free: 15.12 MB / 0.9044 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.0007637/0.6277, allocations: 0.5602 MB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.6277, allocations: 8.922 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.6277, allocations: 38.73 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.6278, allocations: 24.8 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.6282, allocations: 279.8 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.876e-05/0.6283, allocations: 63.95 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.6283, allocations: 4.375 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.6285, allocations: 97.53 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.6285, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.6285, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-06/0.6285, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.6287, allocations: 99.92 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.629, allocations: 253.4 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.6302, allocations: 302.4 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.6304, allocations: 60.77 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.6305, allocations: 105 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.6305, allocations: 34.56 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.6305, allocations: 0 / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0004319/0.631, allocations: 205.5 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.631, allocations: 51.41 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.6313, allocations: 303.2 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.6313, allocations: 29.7 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.6314, allocations: 128.5 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.6314, allocations: 23.8 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/0.6315, allocations: 57.64 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6317, allocations: 338.8 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.6319, allocations: 155.9 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.6321, allocations: 155.9 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.6325, allocations: 297.4 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6325, allocations: 3.984 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005172/0.633, allocations: 397.2 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.633, allocations: 4 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.633, allocations: 3.984 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6331, allocations: 4 kB / 1.175 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.6331, allocations: 11.94 kB / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.6332, allocations: 4 kB / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.6333, allocations: 35.66 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.6333, allocations: 0 / 1.175 GB, free: 10.79 MB / 0.9044 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 0.0001078/0.6334, allocations: 129.8 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.6334, allocations: 31.73 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.6338, allocations: 175.5 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.6338, allocations: 0 / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6338, allocations: 3.984 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.6338, allocations: 0 / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.634, allocations: 241.6 kB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.634, allocations: 7.875 kB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.84e-05/0.6341, allocations: 12 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.6341, allocations: 0 / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.6341, allocations: 4 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6341, allocations: 320 / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6341, allocations: 3.984 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.6344, allocations: 184.9 kB / 1.176 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.6345, allocations: 108.9 kB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.6345, allocations: 0 / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.6346, allocations: 11.98 kB / 1.176 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.6347, allocations: 4 kB / 1.176 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.6347, allocations: 0 / 1.176 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001706/0.6349, allocations: 209.9 kB / 1.176 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6349, allocations: 3.938 kB / 1.176 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000311/0.6352, allocations: 111.8 kB / 1.176 GB, free: 9.473 MB / 0.9044 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.0009348/0.6361, allocations: 0.8775 MB / 1.177 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000487/0.6366, allocations: 355.2 kB / 1.177 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6366, allocations: 4 kB / 1.177 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.6368, allocations: 59.97 kB / 1.177 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.637, allocations: 41.86 kB / 1.177 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.6398, allocations: 2.703 MB / 1.18 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.6402, allocations: 0.7435 MB / 1.181 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.85e-05/0.6403, allocations: 17.06 kB / 1.181 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.6403, allocations: 59.42 kB / 1.181 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.6403, allocations: 0 / 1.181 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4825/1.123, allocations: 5.795 MB / 1.186 GB, free: 14.85 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.5, allocations: 5.625 kB / 1.186 GB, free: 14.85 MB / 0.92 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=400 --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]