Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8833/0.8833, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.657/1.657, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.9504 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.418e-05, allocations: 2.281 kB / 0.9504 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004016/0.00404, allocations: 3.983 MB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004408/0.008448, allocations: 2.842 MB / 0.9571 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007408/0.009188, allocations: 31.75 kB / 0.9571 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009233/0.01011, allocations: 349.6 kB / 0.9575 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.01129, allocations: 0.7133 MB / 0.9582 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.01263, allocations: 0.6778 MB / 0.9588 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.01427, allocations: 1.936 MB / 0.9607 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.01451, allocations: 118.4 kB / 0.9608 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009426/0.01545, allocations: 0.8224 MB / 0.9616 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006433/0.01609, allocations: 0.6156 MB / 0.9622 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.716e-05/0.01619, allocations: 80 kB / 0.9623 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006244/0.01681, allocations: 411.3 kB / 0.9627 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.01717, allocations: 0.4986 MB / 0.9632 GB, free: 6.41 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.01749, allocations: 419 kB / 0.9636 GB, free: 6 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.01886, allocations: 1.503 MB / 0.9651 GB, free: 4.492 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01886, allocations: 7.938 kB / 0.9651 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.164e-06/0.01887, allocations: 0 / 0.9651 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.01888, allocations: 0 / 0.9651 GB, free: 4.484 MB / 0.9167 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.002072/0.02095, allocations: 1.594 MB / 0.9666 GB, free: 2.852 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.021, allocations: 12.03 kB / 0.9666 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.88e-05/0.02107, allocations: 82.7 kB / 0.9667 GB, free: 2.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.02135, allocations: 152 kB / 0.9669 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.0224, allocations: 0.7851 MB / 0.9676 GB, free: 1.777 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.02243, allocations: 45.38 kB / 0.9677 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.02251, allocations: 60.38 kB / 0.9677 GB, free: 1.676 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006916/0.0232, allocations: 0.6144 MB / 0.9683 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.02322, allocations: 4.172 kB / 0.9683 GB, free: 1.035 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.02325, allocations: 19.94 kB / 0.9684 GB, free: 1.016 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.02326, allocations: 12 kB / 0.9684 GB, free: 1.004 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/0.02382, allocations: 0.5543 MB / 0.9689 GB, free: 464 kB / 0.9167 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.003469/0.02729, allocations: 2.298 MB / 0.9712 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/0.02822, allocations: 0.7971 MB / 0.9719 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.02852, allocations: 345.4 kB / 0.9723 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.466e-05/0.02859, allocations: 28.36 kB / 0.9723 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.02861, allocations: 30.94 kB / 0.9723 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=45): time 3.767e-06/0.02861, allocations: 7.922 kB / 0.9723 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45): time 0.001297/0.02991, allocations: 1.119 MB / 0.9734 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.02994, allocations: 63.34 kB / 0.9735 GB, free: 11.67 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.03112, allocations: 1.247 MB / 0.9747 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.03117, allocations: 41.7 kB / 0.9747 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.03145, allocations: 465.2 kB / 0.9752 GB, free: 9.902 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.03158, allocations: 178.5 kB / 0.9754 GB, free: 9.727 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.03177, allocations: 206.6 kB / 0.9755 GB, free: 9.52 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.03189, allocations: 349.9 kB / 0.9759 GB, free: 9.172 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.03243, allocations: 0.6464 MB / 0.9765 GB, free: 8.527 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/0.0331, allocations: 0.9671 MB / 0.9775 GB, free: 7.418 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.03455, allocations: 1.592 MB / 0.979 GB, free: 5.68 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.03456, allocations: 4 kB / 0.979 GB, free: 5.676 MB / 0.9323 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001817/0.03638, allocations: 1.791 MB / 0.9808 GB, free: 3.871 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.03642, allocations: 12 kB / 0.9808 GB, free: 3.859 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.061e-05/0.03645, allocations: 12.06 kB / 0.9808 GB, free: 3.848 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002168/0.03667, allocations: 48.83 kB / 0.9808 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.03735, allocations: 267.7 kB / 0.9811 GB, free: 3.535 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/0.04059, allocations: 6.717 MB / 0.9877 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008443/0.04143, allocations: 139 kB / 0.9878 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/0.04149, allocations: 47.94 kB / 0.9878 GB, free: 12.34 MB / 0.948 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.0003865/0.04187, allocations: 301.4 kB / 0.9881 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.04202, allocations: 123.1 kB / 0.9882 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008603/0.04288, allocations: 0.8427 MB / 0.9891 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.04289, allocations: 4 kB / 0.9891 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.04289, allocations: 0 / 0.9891 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.0429, allocations: 7.984 kB / 0.9891 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000754/0.04365, allocations: 0.7468 MB / 0.9898 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.04366, allocations: 0 / 0.9898 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.04395, allocations: 107.8 kB / 0.9899 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.942e-05/0.04405, allocations: 36.83 kB / 0.9899 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.04407, allocations: 12 kB / 0.9899 GB, free: 10.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006717/0.04475, allocations: 1.33 MB / 0.9912 GB, free: 8.656 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.04475, allocations: 8.016 kB / 0.9913 GB, free: 8.648 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.0462, allocations: 1.374 MB / 0.9926 GB, free: 7.258 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003125/0.04651, allocations: 195 kB / 0.9928 GB, free: 7.066 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.04659, allocations: 15.98 kB / 0.9928 GB, free: 7.051 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.04691, allocations: 40.05 kB / 0.9928 GB, free: 7.012 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.04697, allocations: 23.95 kB / 0.9929 GB, free: 6.988 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.04699, allocations: 19.98 kB / 0.9929 GB, free: 6.969 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008199/0.04781, allocations: 0.8233 MB / 0.9937 GB, free: 6.141 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.04781, allocations: 0 / 0.9937 GB, free: 6.141 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008442/0.04866, allocations: 371.6 kB / 0.994 GB, free: 5.777 MB / 0.948 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.00176/0.05042, allocations: 2.104 MB / 0.9961 GB, free: 3.637 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.05207, allocations: 1.381 MB / 0.9974 GB, free: 2.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.05207, allocations: 0 / 0.9974 GB, free: 2.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.05246, allocations: 474.5 kB / 0.9979 GB, free: 1.754 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/0.05324, allocations: 237.8 kB / 0.9981 GB, free: 1.527 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.06452, allocations: 11.37 MB / 1.009 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.06491, allocations: 0.5027 MB / 1.01 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005227/0.06543, allocations: 207.1 kB / 1.01 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/0.06584, allocations: 404.4 kB / 1.01 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of SimCode: time 1.553e-06/0.06584, allocations: 3.938 kB / 1.01 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.1134, allocations: 26.42 MB / 1.036 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.966/9.079, allocations: 7.094 kB / 1.036 GB, free: 10.65 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.613801231607795]