Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.ConductorStepResponse,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse",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.001108/0.001108, 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.001035/0.001035, allocations: 194.7 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.5003, allocations: 140.4 MB / 0.9497 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.004462/0.5048, allocations: 4.784 MB / 0.9544 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003556/0.5084, allocations: 3.268 MB / 0.9576 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.5087, allocations: 25.41 kB / 0.9576 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.5099, allocations: 0.5282 MB / 0.9581 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008939/0.5108, allocations: 0.7049 MB / 0.9588 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009787/0.5118, allocations: 0.6344 MB / 0.9594 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.5137, allocations: 2.586 MB / 0.9619 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.5141, allocations: 298.1 kB / 0.9622 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008463/0.515, allocations: 0.7905 MB / 0.963 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008925/0.5159, allocations: 0.7852 MB / 0.9638 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.516, allocations: 87.66 kB / 0.9638 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.5163, allocations: 96.84 kB / 0.9639 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004677/0.5168, allocations: 0.5034 MB / 0.9644 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007079/0.5175, allocations: 0.7513 MB / 0.9652 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.5188, allocations: 1.651 MB / 0.9668 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5188, allocations: 3.984 kB / 0.9668 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5188, allocations: 0.9375 kB / 0.9668 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.5188, allocations: 0 / 0.9668 GB, free: 12.9 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002965/0.5218, allocations: 1.933 MB / 0.9687 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.5218, allocations: 9.344 kB / 0.9687 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.153e-05/0.5219, allocations: 87.16 kB / 0.9688 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.5222, allocations: 166.1 kB / 0.9689 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.5238, allocations: 1.119 MB / 0.97 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.5238, allocations: 60 kB / 0.9701 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.5239, allocations: 81.47 kB / 0.9701 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008048/0.5247, allocations: 0.5701 MB / 0.9707 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5248, allocations: 1.062 kB / 0.9707 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.5248, allocations: 24.36 kB / 0.9707 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.5248, allocations: 11.09 kB / 0.9707 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/0.5254, allocations: 357.7 kB / 0.9711 GB, free: 9.906 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004573/0.53, allocations: 3.882 MB / 0.9749 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.5311, allocations: 0.5052 MB / 0.9754 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.5314, allocations: 197.8 kB / 0.9755 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.5315, allocations: 6.156 kB / 0.9756 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.5315, allocations: 36.97 kB / 0.9756 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.5315, allocations: 0 / 0.9756 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002015/0.5335, allocations: 1.089 MB / 0.9767 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.5336, allocations: 54.09 kB / 0.9767 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.5358, allocations: 1.802 MB / 0.9785 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.5358, allocations: 45.7 kB / 0.9785 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.5363, allocations: 0.5878 MB / 0.9791 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5364, allocations: 102.5 kB / 0.9792 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.5367, allocations: 242.8 kB / 0.9794 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5368, allocations: 357.9 kB / 0.9798 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.5373, allocations: 326.4 kB / 0.9801 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008174/0.5381, allocations: 0.9403 MB / 0.981 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.5394, allocations: 1.275 MB / 0.9822 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.5394, allocations: 4 kB / 0.9822 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002103/0.5416, allocations: 1.449 MB / 0.9836 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.5416, allocations: 20.03 kB / 0.9837 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.5416, allocations: 20 kB / 0.9837 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/0.5422, allocations: 198.4 kB / 0.9839 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/0.5429, allocations: 239.5 kB / 0.9841 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/0.5468, allocations: 5.067 MB / 0.9891 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.5478, allocations: 178.7 kB / 0.9892 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/0.5479, allocations: 60 kB / 0.9893 GB, free: 7.574 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004882/0.5484, allocations: 481.2 kB / 0.9897 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.5486, allocations: 138.2 kB / 0.9899 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.5487, allocations: 130.3 kB / 0.99 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5488, allocations: 4 kB / 0.99 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5488, allocations: 4 kB / 0.99 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5488, allocations: 3.984 kB / 0.99 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009983/0.5498, allocations: 0.9369 MB / 0.9909 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5498, allocations: 0 / 0.9909 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.55, allocations: 43.91 kB / 0.991 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/0.5505, allocations: 170.4 kB / 0.9911 GB, free: 5.605 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.5506, allocations: 11.92 kB / 0.9911 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003841/0.5544, allocations: 5.02 MB / 0.996 GB, free: 160 kB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5544, allocations: 8 kB / 0.996 GB, free: 152 kB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.5557, allocations: 0.894 MB / 0.9969 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/0.5561, allocations: 307.1 kB / 0.9972 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.5562, allocations: 8.25 kB / 0.9972 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000591/0.5568, allocations: 35.94 kB / 0.9973 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.5569, allocations: 35.97 kB / 0.9973 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.557, allocations: 4 kB / 0.9973 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001536/0.5585, allocations: 1.22 MB / 0.9985 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5585, allocations: 0 / 0.9985 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001046/0.5596, allocations: 379.6 kB / 0.9988 GB, free: 13.24 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (conMul.lay[2].T[1],conMul.lay[2].T[2],con2.T[1],con2.T[2]) * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00156/0.5611, allocations: 1.443 MB / 1 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.5627, allocations: 1.137 MB / 1.001 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5627, allocations: 0 / 1.001 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006935/0.5634, allocations: 0.5749 MB / 1.002 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.5647, allocations: 339.7 kB / 1.002 GB, free: 9.641 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.5796, allocations: 12.93 MB / 1.015 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008289/0.5804, allocations: 1.312 MB / 1.016 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005559/0.581, allocations: 240.8 kB / 1.016 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/0.5815, allocations: 487.3 kB / 1.017 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5815, allocations: 4 kB / 1.017 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05364/0.6352, allocations: 27.78 MB / 1.044 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.705/10.34, allocations: 17.03 kB / 1.044 GB, free: 14.24 MB / 0.8106 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorStepResponse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches