Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 191.2 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.9/2.9, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.52 kB / 1.145 GB, free: 30.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3319, allocations: 174.9 MB / 1.316 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00611/0.338, allocations: 4.402 MB / 1.32 GB, free: 5.332 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005368/0.3434, allocations: 2.984 MB / 1.323 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005797/0.3439, allocations: 27.75 kB / 1.323 GB, free: 2.312 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.345, allocations: 369.7 kB / 1.324 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.3465, allocations: 0.6962 MB / 1.324 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.3484, allocations: 0.6627 MB / 1.325 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002396/0.3508, allocations: 1.898 MB / 1.327 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.351, allocations: 126.3 kB / 1.327 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008398/0.3519, allocations: 0.6035 MB / 1.327 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.3531, allocations: 0.724 MB / 1.328 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.3532, allocations: 76 kB / 1.328 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009628/0.3542, allocations: 443.4 kB / 1.329 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005923/0.3547, allocations: 490.5 kB / 1.329 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006248/0.3554, allocations: 0.6061 MB / 1.33 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.3571, allocations: 1.486 MB / 1.331 GB, free: 10.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3571, allocations: 4 kB / 1.331 GB, free: 10.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3571, allocations: 3.938 kB / 1.331 GB, free: 10.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.3571, allocations: 0 / 1.331 GB, free: 10.11 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003291/0.3604, allocations: 1.594 MB / 1.333 GB, free: 8.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3605, allocations: 8.031 kB / 1.333 GB, free: 8.473 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.3607, allocations: 140 kB / 1.333 GB, free: 8.336 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.3621, allocations: 0.7819 MB / 1.334 GB, free: 7.516 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.3622, allocations: 41.38 kB / 1.334 GB, free: 7.477 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.3623, allocations: 72.36 kB / 1.334 GB, free: 7.406 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.3632, allocations: 0.6178 MB / 1.334 GB, free: 6.773 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3632, allocations: 0 / 1.334 GB, free: 6.773 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.3632, allocations: 16 kB / 1.334 GB, free: 6.758 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.3633, allocations: 12 kB / 1.334 GB, free: 6.746 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000796/0.364, allocations: 0.5582 MB / 1.335 GB, free: 6.184 MB / 1.029 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.004788/0.3688, allocations: 3.252 MB / 1.338 GB, free: 2.695 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.3703, allocations: 0.8205 MB / 1.339 GB, free: 1.863 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.3708, allocations: 341.4 kB / 1.339 GB, free: 1.527 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.542e-05/0.3708, allocations: 28.28 kB / 1.339 GB, free: 1.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3709, allocations: 42.94 kB / 1.339 GB, free: 1.449 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.3709, allocations: 0 / 1.339 GB, free: 1.449 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.001856/0.3727, allocations: 1.115 MB / 1.34 GB, free: 332 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3728, allocations: 55.41 kB / 1.34 GB, free: 264 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.3744, allocations: 1.239 MB / 1.342 GB, free: 15 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.3745, allocations: 41.7 kB / 1.342 GB, free: 14.96 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.3749, allocations: 469.2 kB / 1.342 GB, free: 14.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.375, allocations: 182.4 kB / 1.342 GB, free: 14.32 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.3753, allocations: 214.6 kB / 1.343 GB, free: 14.1 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3755, allocations: 349.9 kB / 1.343 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008614/0.3763, allocations: 0.6464 MB / 1.343 GB, free: 13.11 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.3775, allocations: 0.9669 MB / 1.344 GB, free: 12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.3793, allocations: 1.59 MB / 1.346 GB, free: 10.26 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3794, allocations: 4 kB / 1.346 GB, free: 10.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002395/0.3817, allocations: 1.787 MB / 1.348 GB, free: 8.457 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3818, allocations: 8 kB / 1.348 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/0.3818, allocations: 16.7 kB / 1.348 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.382, allocations: 52.78 kB / 1.348 GB, free: 8.379 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.3832, allocations: 267.6 kB / 1.348 GB, free: 8.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004935/0.3881, allocations: 6.721 MB / 1.355 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000931/0.389, allocations: 139.3 kB / 1.355 GB, free: 0.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/0.3891, allocations: 47.98 kB / 1.355 GB, free: 0.9102 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004398/0.3895, allocations: 297.4 kB / 1.355 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.3897, allocations: 119.2 kB / 1.355 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.3909, allocations: 0.8427 MB / 1.356 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.391, allocations: 11.94 kB / 1.356 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.391, allocations: 0 / 1.356 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.391, allocations: 3.938 kB / 1.356 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.392, allocations: 0.887 MB / 1.357 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.392, allocations: 0 / 1.357 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.3925, allocations: 107.9 kB / 1.357 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.3926, allocations: 36.83 kB / 1.357 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.3927, allocations: 19.98 kB / 1.357 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.3938, allocations: 1.338 MB / 1.358 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3938, allocations: 4.031 kB / 1.358 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.3955, allocations: 1.37 MB / 1.36 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003835/0.3959, allocations: 187 kB / 1.36 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.396, allocations: 27.98 kB / 1.36 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/0.3966, allocations: 31.95 kB / 1.36 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.3967, allocations: 27.89 kB / 1.36 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.3967, allocations: 16.09 kB / 1.36 GB, free: 11.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001164/0.3979, allocations: 0.831 MB / 1.361 GB, free: 10.56 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3979, allocations: 0 / 1.361 GB, free: 10.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009848/0.3989, allocations: 367.6 kB / 1.361 GB, free: 10.2 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0005438/0.3994, allocations: 271.3 kB / 1.361 GB, free: 9.926 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002384/0.4018, allocations: 1.386 MB / 1.363 GB, free: 8.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4018, allocations: 192 / 1.363 GB, free: 8.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.4024, allocations: 462.5 kB / 1.363 GB, free: 8.055 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000981/0.4034, allocations: 228.2 kB / 1.363 GB, free: 7.836 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.4069, allocations: 2.581 MB / 1.366 GB, free: 5.227 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000789/0.4077, allocations: 1.106 MB / 1.367 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004826/0.4081, allocations: 203.1 kB / 1.367 GB, free: 3.891 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.4083, allocations: 67.42 kB / 1.367 GB, free: 3.824 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/0.4083, allocations: 0 / 1.367 GB, free: 3.824 MB / 1.061 GB Notification: Performance of Templates: time 0.0276/0.4359, allocations: 15.37 MB / 1.382 GB, free: 4.613 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.710410540923476]