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.005222/0.005222, allocations: 104.1 kB / 15.73 MB, free: 5.578 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.001384/0.001385, allocations: 190 kB / 16.67 MB, free: 5.516 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.282/2.282, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.89 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8471/0.8485, allocations: 140.4 MB / 1.087 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorStepResponse): time 0.005985/0.8545, allocations: 4.793 MB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005173/0.8597, allocations: 3.258 MB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008675/0.8606, allocations: 25.97 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.8625, allocations: 0.5238 MB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.8643, allocations: 0.7108 MB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.8661, allocations: 0.641 MB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003599/0.8697, allocations: 2.596 MB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.8702, allocations: 295.8 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.8718, allocations: 0.819 MB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.873, allocations: 0.7484 MB / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.8732, allocations: 84.53 kB / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.8735, allocations: 97.16 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007154/0.8742, allocations: 0.5248 MB / 1.102 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009648/0.8752, allocations: 0.7406 MB / 1.103 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.877, allocations: 1.664 MB / 1.105 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8771, allocations: 1.25 kB / 1.105 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8771, allocations: 0 / 1.105 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.847e-05/0.8771, allocations: 0 / 1.105 GB, free: 11.79 MB / 0.8731 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.003408/0.8805, allocations: 1.931 MB / 1.106 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.8806, allocations: 9.781 kB / 1.106 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.8807, allocations: 86.2 kB / 1.107 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.8809, allocations: 170.8 kB / 1.107 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.8829, allocations: 1.163 MB / 1.108 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.8829, allocations: 63.31 kB / 1.108 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.8831, allocations: 76.97 kB / 1.108 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008892/0.884, allocations: 0.5688 MB / 1.109 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.884, allocations: 3.938 kB / 1.109 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.884, allocations: 16.88 kB / 1.109 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.884, allocations: 11.72 kB / 1.109 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.8846, allocations: 359.1 kB / 1.109 GB, free: 9.301 MB / 0.8731 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.005332/0.89, allocations: 3.853 MB / 1.113 GB, free: 6.492 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.8912, allocations: 0.5051 MB / 1.113 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.8916, allocations: 191.6 kB / 1.113 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.8916, allocations: 2.875 kB / 1.113 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.8917, allocations: 35.69 kB / 1.113 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/0.8917, allocations: 0 / 1.113 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.002366/0.8941, allocations: 1.091 MB / 1.114 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.8941, allocations: 59.67 kB / 1.114 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/0.8968, allocations: 1.775 MB / 1.116 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.8969, allocations: 49.36 kB / 1.116 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/0.8975, allocations: 0.5852 MB / 1.117 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.8976, allocations: 106.8 kB / 1.117 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003081/0.898, allocations: 237.9 kB / 1.117 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8981, allocations: 349.4 kB / 1.117 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/0.8987, allocations: 330.9 kB / 1.118 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009239/0.8996, allocations: 0.9353 MB / 1.119 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.901, allocations: 1.283 MB / 1.12 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.901, allocations: 10.94 kB / 1.12 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002902/0.9039, allocations: 1.449 MB / 1.121 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.904, allocations: 15.09 kB / 1.121 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.904, allocations: 24.69 kB / 1.121 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006667/0.9047, allocations: 192.5 kB / 1.122 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/0.9055, allocations: 241.5 kB / 1.122 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/0.91, allocations: 5.063 MB / 1.127 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.9117, allocations: 174.8 kB / 1.127 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.9118, allocations: 63.66 kB / 1.127 GB, free: 12.43 MB / 0.8887 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.001038/0.9129, allocations: 485.6 kB / 1.127 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/0.9132, allocations: 139.1 kB / 1.128 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.9135, allocations: 134.6 kB / 1.128 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.9135, allocations: 2.922 kB / 1.128 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.179e-05/0.9135, allocations: 3.344 kB / 1.128 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.9135, allocations: 1.359 kB / 1.128 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.9152, allocations: 0.9318 MB / 1.129 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9153, allocations: 4.797 kB / 1.129 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.9155, allocations: 40.27 kB / 1.129 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005442/0.9161, allocations: 169.2 kB / 1.129 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.9161, allocations: 11.55 kB / 1.129 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004783/0.9209, allocations: 5.017 MB / 1.134 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9209, allocations: 0 / 1.134 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.9226, allocations: 0.8965 MB / 1.135 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000721/0.9233, allocations: 303.6 kB / 1.135 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/0.9237, allocations: 8.922 kB / 1.135 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007078/0.9244, allocations: 39.52 kB / 1.135 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.9245, allocations: 25.55 kB / 1.135 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.9245, allocations: 13.45 kB / 1.135 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002379/0.9269, allocations: 1.205 MB / 1.136 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9269, allocations: 0 / 1.136 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001762/0.9287, allocations: 379.2 kB / 1.137 GB, free: 5.805 MB / 0.8887 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.001908/0.9306, allocations: 1.448 MB / 1.138 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002114/0.9328, allocations: 1.115 MB / 1.139 GB, free: 4.242 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.9328, allocations: 1.125 kB / 1.139 GB, free: 4.242 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008063/0.9336, allocations: 0.5611 MB / 1.14 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.9354, allocations: 343.4 kB / 1.14 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/0.9554, allocations: 12.02 MB / 1.152 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.9567, allocations: 1.315 MB / 1.153 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008101/0.9576, allocations: 246.6 kB / 1.153 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006837/0.9583, allocations: 487.3 kB / 1.154 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of SimCode: time 9.72e-07/0.9583, allocations: 1.125 kB / 1.154 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09676/1.055, allocations: 28.01 MB / 1.181 GB, free: 11.95 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.43, allocations: 3.938 kB / 1.181 GB, free: 11.94 MB / 0.92 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse_res.mat","/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