Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.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.001705/0.001705, allocations: 118.1 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001843/0.001843, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.664/1.664, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.092/3.092, allocations: 0.49 GB / 0.7923 GB, free: 1.375 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 63.91 kB / 1.149 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.146, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2139/1.36, allocations: 165.8 MB / 1.483 GB, free: 14.72 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005657/1.366, allocations: 2.932 MB / 1.486 GB, free: 12.35 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005943/1.366, allocations: 22.22 kB / 1.486 GB, free: 12.34 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000769/1.367, allocations: 219.3 kB / 1.486 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/1.37, allocations: 0.8067 MB / 1.487 GB, free: 11.54 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009488/1.371, allocations: 344.8 kB / 1.488 GB, free: 11.27 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001588/1.372, allocations: 0.9484 MB / 1.489 GB, free: 10.71 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/1.373, allocations: 216.4 kB / 1.489 GB, free: 10.55 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008738/1.374, allocations: 388.9 kB / 1.489 GB, free: 10.33 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008939/1.374, allocations: 302 kB / 1.489 GB, free: 10.15 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/1.374, allocations: 33.78 kB / 1.489 GB, free: 10.15 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/1.376, allocations: 0.6872 MB / 1.49 GB, free: 9.762 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/1.376, allocations: 140.7 kB / 1.49 GB, free: 9.66 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/1.377, allocations: 215.6 kB / 1.49 GB, free: 9.523 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001641/1.378, allocations: 0.7555 MB / 1.491 GB, free: 9.035 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.378, allocations: 0 / 1.491 GB, free: 9.035 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.515e-06/1.378, allocations: 5.188 kB / 1.491 GB, free: 9.031 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.988e-05/1.378, allocations: 0 / 1.491 GB, free: 9.031 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001686/1.38, allocations: 0.7244 MB / 1.492 GB, free: 8.398 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.38, allocations: 14.8 kB / 1.492 GB, free: 8.395 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.857e-05/1.38, allocations: 5.688 kB / 1.492 GB, free: 8.395 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.556e-05/1.38, allocations: 63.55 kB / 1.492 GB, free: 8.332 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/1.381, allocations: 146.3 kB / 1.492 GB, free: 8.262 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008013/1.382, allocations: 417.7 kB / 1.492 GB, free: 7.895 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/1.382, allocations: 17.97 kB / 1.493 GB, free: 7.887 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/1.382, allocations: 24.5 kB / 1.493 GB, free: 7.879 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/1.383, allocations: 281.6 kB / 1.493 GB, free: 7.695 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/1.383, allocations: 1.438 kB / 1.493 GB, free: 7.695 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/1.383, allocations: 10.56 kB / 1.493 GB, free: 7.688 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/1.383, allocations: 8.438 kB / 1.493 GB, free: 7.684 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/1.383, allocations: 203.1 kB / 1.493 GB, free: 7.586 MB / 1.17 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.00216/1.385, allocations: 1.326 MB / 1.494 GB, free: 6.344 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/1.386, allocations: 191.9 kB / 1.494 GB, free: 6.234 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/1.386, allocations: 87.8 kB / 1.495 GB, free: 6.184 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/1.386, allocations: 2.219 kB / 1.495 GB, free: 6.184 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/1.386, allocations: 40.59 kB / 1.495 GB, free: 6.137 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/1.386, allocations: 0 / 1.495 GB, free: 6.137 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.00107/1.387, allocations: 400.1 kB / 1.495 GB, free: 5.867 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/1.387, allocations: 53.91 kB / 1.495 GB, free: 5.805 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/1.387, allocations: 302.2 kB / 1.495 GB, free: 5.605 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/1.387, allocations: 30.77 kB / 1.495 GB, free: 5.57 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/1.388, allocations: 198.4 kB / 1.496 GB, free: 5.391 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/1.388, allocations: 72.27 kB / 1.496 GB, free: 5.328 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.152e-05/1.388, allocations: 41.83 kB / 1.496 GB, free: 5.297 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001928/1.388, allocations: 342 kB / 1.496 GB, free: 4.961 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/1.388, allocations: 66.59 kB / 1.496 GB, free: 4.926 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/1.388, allocations: 112.7 kB / 1.496 GB, free: 4.832 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/1.389, allocations: 195.9 kB / 1.496 GB, free: 4.691 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.389, allocations: 1.156 kB / 1.496 GB, free: 4.691 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004583/1.389, allocations: 250.5 kB / 1.497 GB, free: 4.551 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.389, allocations: 6.656 kB / 1.497 GB, free: 4.551 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.389, allocations: 1.188 kB / 1.497 GB, free: 4.551 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.389, allocations: 3.156 kB / 1.497 GB, free: 4.551 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/1.389, allocations: 46.98 kB / 1.497 GB, free: 4.539 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/1.389, allocations: 3.406 kB / 1.497 GB, free: 4.539 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/1.39, allocations: 20.41 kB / 1.497 GB, free: 4.523 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/1.39, allocations: 13.64 kB / 1.497 GB, free: 4.516 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * 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.0002183/1.39, allocations: 162.4 kB / 1.497 GB, free: 4.367 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/1.39, allocations: 40.45 kB / 1.497 GB, free: 4.344 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.391e-05/1.39, allocations: 42.83 kB / 1.497 GB, free: 4.305 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.39, allocations: 2.312 kB / 1.497 GB, free: 4.305 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.39, allocations: 1.219 kB / 1.497 GB, free: 4.305 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.39, allocations: 0 / 1.497 GB, free: 4.305 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007068/1.391, allocations: 401.3 kB / 1.497 GB, free: 3.949 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.391, allocations: 3.938 kB / 1.497 GB, free: 3.945 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/1.391, allocations: 33.72 kB / 1.497 GB, free: 3.938 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002469/1.391, allocations: 48.11 kB / 1.497 GB, free: 3.906 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/1.391, allocations: 5.531 kB / 1.497 GB, free: 3.902 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/1.393, allocations: 1.509 MB / 1.499 GB, free: 2.379 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.393, allocations: 1.125 kB / 1.499 GB, free: 2.379 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/1.394, allocations: 400.3 kB / 1.499 GB, free: 2.102 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/1.394, allocations: 131 kB / 1.499 GB, free: 1.969 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/1.394, allocations: 9.281 kB / 1.499 GB, free: 1.961 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/1.394, allocations: 10.62 kB / 1.499 GB, free: 1.953 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/1.394, allocations: 9.609 kB / 1.499 GB, free: 1.949 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/1.394, allocations: 8.719 kB / 1.499 GB, free: 1.945 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003046/1.395, allocations: 221.1 kB / 1.5 GB, free: 1.797 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/1.395, allocations: 0 / 1.5 GB, free: 1.797 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000546/1.395, allocations: 109 kB / 1.5 GB, free: 1.777 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * 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: 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/1.396, allocations: 0.9443 MB / 1.501 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003781/1.397, allocations: 157.8 kB / 1.501 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.397, allocations: 1.062 kB / 1.501 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003868/1.397, allocations: 197.6 kB / 1.501 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/1.398, allocations: 197.8 kB / 1.501 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/1.403, allocations: 2.93 MB / 1.504 GB, free: 13.68 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/1.403, allocations: 0.796 MB / 1.505 GB, free: 12.86 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003379/1.404, allocations: 67.23 kB / 1.505 GB, free: 12.79 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/1.404, allocations: 99.41 kB / 1.505 GB, free: 12.69 MB / 1.186 GB Notification: Performance of SimCode: time 5.71e-07/1.404, allocations: 4 kB / 1.505 GB, free: 12.69 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/1.439, allocations: 9.086 MB / 1.514 GB, free: 3.828 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/12.27, allocations: 5.938 kB / 1.514 GB, free: 3.824 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.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: 19.296382703003474]