Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.0007928/0.0007928, 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.0008202/0.0008202, 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.8472/0.8472, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.711/1.711, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.918e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5441/0.5441, allocations: 165.3 MB / 1.161 GB, free: 11.78 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.5559, allocations: 11.91 MB / 1.173 GB, free: 3.785 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.557, allocations: 38.91 kB / 1.173 GB, free: 3.766 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.5583, allocations: 414.5 kB / 1.173 GB, free: 3.52 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.5606, allocations: 0.9809 MB / 1.174 GB, free: 2.965 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.5624, allocations: 0.7628 MB / 1.175 GB, free: 2.586 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.00251/0.5649, allocations: 1.494 MB / 1.176 GB, free: 1.891 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007833/0.5657, allocations: 466.1 kB / 1.177 GB, free: 1.684 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004298/0.57, allocations: 2.035 MB / 1.179 GB, free: 0.7695 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.5714, allocations: 464 kB / 1.179 GB, free: 0.6328 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.5716, allocations: 53.59 kB / 1.179 GB, free: 0.6328 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.5731, allocations: 0.7263 MB / 1.18 GB, free: 416 kB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.5734, allocations: 301.6 kB / 1.18 GB, free: 280 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.5738, allocations: 256.5 kB / 1.181 GB, free: 180 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.5756, allocations: 1.183 MB / 1.182 GB, free: 15.75 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5756, allocations: 1.906 kB / 1.182 GB, free: 15.75 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5756, allocations: 0.75 kB / 1.182 GB, free: 15.75 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.5757, allocations: 0 / 1.182 GB, free: 15.75 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001305/0.577, allocations: 0.9844 MB / 1.183 GB, free: 15.05 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.577, allocations: 9.406 kB / 1.183 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.612e-05/0.5771, allocations: 104.5 kB / 1.183 GB, free: 14.97 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006147/0.5777, allocations: 196.1 kB / 1.183 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006732/0.5784, allocations: 492.8 kB / 1.183 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.5784, allocations: 41.41 kB / 1.183 GB, free: 14.57 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.5785, allocations: 59.09 kB / 1.184 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008633/0.5793, allocations: 0.7965 MB / 1.184 GB, free: 14.02 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.5794, allocations: 6.656 kB / 1.184 GB, free: 14.02 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.992e-05/0.5794, allocations: 28.12 kB / 1.184 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/0.5794, allocations: 22.7 kB / 1.184 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.58, allocations: 468.5 kB / 1.185 GB, free: 13.85 MB / 1.042 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.00273/0.5828, allocations: 3.992 MB / 1.189 GB, free: 10.41 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.5829, allocations: 101.9 kB / 1.189 GB, free: 10.3 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.583, allocations: 72.48 kB / 1.189 GB, free: 10.25 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.5831, allocations: 21.25 kB / 1.189 GB, free: 10.25 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.5831, allocations: 42.41 kB / 1.189 GB, free: 10.2 MB / 1.042 GB Notification: Performance of pre-optimization done (n=10): time 2.275e-06/0.5831, allocations: 0 / 1.189 GB, free: 10.2 MB / 1.042 GB Notification: Performance of matching and sorting (n=10): time 0.0005016/0.5836, allocations: 240.2 kB / 1.189 GB, free: 10.1 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.5837, allocations: 135.3 kB / 1.189 GB, free: 9.938 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009456/0.5846, allocations: 0.8545 MB / 1.19 GB, free: 9.578 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.5846, allocations: 27.89 kB / 1.19 GB, free: 9.547 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.5849, allocations: 405.2 kB / 1.191 GB, free: 9.223 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.5849, allocations: 42.58 kB / 1.191 GB, free: 9.191 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.585, allocations: 92.23 kB / 1.191 GB, free: 9.137 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.5851, allocations: 326.9 kB / 1.191 GB, free: 8.82 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.5853, allocations: 112.6 kB / 1.191 GB, free: 8.793 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.5856, allocations: 0.5073 MB / 1.192 GB, free: 8.258 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.586, allocations: 437.4 kB / 1.192 GB, free: 7.875 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.586, allocations: 10.06 kB / 1.192 GB, free: 7.867 MB / 1.042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006548/0.5867, allocations: 0.4944 MB / 1.192 GB, free: 7.664 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.5867, allocations: 10.41 kB / 1.192 GB, free: 7.664 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5867, allocations: 8.531 kB / 1.192 GB, free: 7.664 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.5867, allocations: 9.969 kB / 1.193 GB, free: 7.664 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.5869, allocations: 92.12 kB / 1.193 GB, free: 7.656 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.5869, allocations: 17.92 kB / 1.193 GB, free: 7.652 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.5874, allocations: 112.5 kB / 1.193 GB, free: 7.598 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.5874, allocations: 26.83 kB / 1.193 GB, free: 7.594 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002558/0.5877, allocations: 233.1 kB / 1.193 GB, free: 7.418 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.5878, allocations: 79.02 kB / 1.193 GB, free: 7.375 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.306e-05/0.5879, allocations: 77.44 kB / 1.193 GB, free: 7.336 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5879, allocations: 2.156 kB / 1.193 GB, free: 7.336 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.5879, allocations: 1.188 kB / 1.193 GB, free: 7.336 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5879, allocations: 9.172 kB / 1.193 GB, free: 7.336 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.5891, allocations: 1.031 MB / 1.194 GB, free: 6.543 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5891, allocations: 6.562 kB / 1.194 GB, free: 6.539 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.5892, allocations: 24.62 kB / 1.194 GB, free: 6.531 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.5892, allocations: 7.844 kB / 1.194 GB, free: 6.527 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.5892, allocations: 3.25 kB / 1.194 GB, free: 6.527 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.5892, allocations: 2.188 kB / 1.194 GB, free: 6.527 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.5892, allocations: 10.56 kB / 1.194 GB, free: 6.52 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.5895, allocations: 255.2 kB / 1.194 GB, free: 6.32 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.5896, allocations: 104.9 kB / 1.195 GB, free: 6.258 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.847e-05/0.5897, allocations: 8.156 kB / 1.195 GB, free: 6.254 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.5899, allocations: 19.08 kB / 1.195 GB, free: 6.25 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.5899, allocations: 10.97 kB / 1.195 GB, free: 6.246 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.5899, allocations: 9.469 kB / 1.195 GB, free: 6.242 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0006352/0.5905, allocations: 0.5813 MB / 1.195 GB, free: 6.016 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.5905, allocations: 0 / 1.195 GB, free: 6.016 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0005335/0.5911, allocations: 161.9 kB / 1.195 GB, free: 5.988 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0007113/0.5918, allocations: 0.8721 MB / 1.196 GB, free: 5.234 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0004242/0.5922, allocations: 240.1 kB / 1.196 GB, free: 5.16 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5922, allocations: 0 / 1.196 GB, free: 5.16 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.5923, allocations: 48.16 kB / 1.196 GB, free: 5.145 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5933, allocations: 367 kB / 1.197 GB, free: 5.035 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/0.599, allocations: 5.426 MB / 1.202 GB, free: 1.898 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.5992, allocations: 347.5 kB / 1.202 GB, free: 1.773 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0005215/0.5997, allocations: 143.4 kB / 1.203 GB, free: 1.746 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.6, allocations: 231.4 kB / 1.203 GB, free: 1.578 MB / 1.042 GB Notification: Performance of SimCode: time 1.182e-06/0.6, allocations: 0 / 1.203 GB, free: 1.578 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.6307, allocations: 19.89 MB / 1.222 GB, free: 7.52 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/7.584, allocations: 8.047 kB / 1.222 GB, free: 7.512 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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: 11.488634162582457]