Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.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.001906/0.001906, allocations: 110.1 kB / 16.46 MB, free: 6.504 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.002098/0.002098, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7611 GB, free: 11.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 71.88 kB / 1.104 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8449/0.8472, allocations: 168.7 MB / 1.269 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2434/1.091, allocations: 176.8 MB / 1.441 GB, free: 3.789 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03358/1.124, allocations: 15.74 MB / 1.457 GB, free: 4 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002728/1.127, allocations: 31.81 kB / 1.457 GB, free: 3.969 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002432/1.129, allocations: 0.6323 MB / 1.457 GB, free: 3.332 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006521/1.136, allocations: 1.615 MB / 1.459 GB, free: 1.715 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00576/1.142, allocations: 1.678 MB / 1.461 GB, free: 44 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005554/1.147, allocations: 2.906 MB / 1.463 GB, free: 13.12 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003621/1.151, allocations: 1.528 MB / 1.465 GB, free: 11.54 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005332/1.156, allocations: 1.428 MB / 1.466 GB, free: 10.14 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/1.159, allocations: 1.07 MB / 1.467 GB, free: 9.066 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001066/1.16, allocations: 196 kB / 1.468 GB, free: 8.875 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/1.164, allocations: 1.38 MB / 1.469 GB, free: 7.492 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/1.165, allocations: 0.5724 MB / 1.469 GB, free: 6.918 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002697/1.168, allocations: 1.03 MB / 1.47 GB, free: 5.883 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.008575/1.176, allocations: 3.032 MB / 1.473 GB, free: 2.84 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.176, allocations: 0 / 1.473 GB, free: 2.84 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.204e-06/1.176, allocations: 3.938 kB / 1.473 GB, free: 2.836 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001382/1.176, allocations: 0 / 1.473 GB, free: 2.836 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.006948/1.183, allocations: 2.373 MB / 1.476 GB, free: 404 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/1.183, allocations: 8.031 kB / 1.476 GB, free: 396 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006559/1.184, allocations: 236.3 kB / 1.476 GB, free: 148 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/1.188, allocations: 478.3 kB / 1.476 GB, free: 15.67 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/1.191, allocations: 1.153 MB / 1.478 GB, free: 14.47 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/1.191, allocations: 119.2 kB / 1.478 GB, free: 14.36 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000426/1.192, allocations: 160 kB / 1.478 GB, free: 14.2 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004478/1.196, allocations: 1.782 MB / 1.48 GB, free: 12.34 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.205e-05/1.196, allocations: 7.938 kB / 1.48 GB, free: 12.33 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003048/1.196, allocations: 68 kB / 1.48 GB, free: 12.27 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.358e-05/1.197, allocations: 44 kB / 1.48 GB, free: 12.22 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004036/1.201, allocations: 1.78 MB / 1.481 GB, free: 10.44 MB / 1.186 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.01222/1.213, allocations: 6.154 MB / 1.487 GB, free: 3.926 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/1.216, allocations: 1.485 MB / 1.489 GB, free: 2.379 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/1.217, allocations: 0.5152 MB / 1.489 GB, free: 1.859 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/1.218, allocations: 0.8789 MB / 1.49 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001707/1.22, allocations: 0.8012 MB / 1.491 GB, free: 15.98 MB / 1.201 GB Notification: Performance of pre-optimization done (n=126): time 3.888e-06/1.22, allocations: 3.938 kB / 1.491 GB, free: 15.97 MB / 1.201 GB Notification: Performance of matching and sorting (n=126): time 0.005736/1.226, allocations: 1.891 MB / 1.493 GB, free: 14.05 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/1.226, allocations: 196.9 kB / 1.493 GB, free: 13.82 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/1.228, allocations: 0.9837 MB / 1.494 GB, free: 12.82 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/1.229, allocations: 53.69 kB / 1.494 GB, free: 12.76 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009497/1.23, allocations: 0.6736 MB / 1.495 GB, free: 12.08 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006711/1.23, allocations: 440.2 kB / 1.495 GB, free: 11.64 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006069/1.231, allocations: 218.8 kB / 1.495 GB, free: 11.43 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002148/1.231, allocations: 345.9 kB / 1.496 GB, free: 11.08 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/1.232, allocations: 426.4 kB / 1.496 GB, free: 10.66 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/1.233, allocations: 0.6014 MB / 1.497 GB, free: 10.02 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/1.236, allocations: 1.015 MB / 1.498 GB, free: 8.977 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/1.236, allocations: 0 / 1.498 GB, free: 8.977 MB / 1.201 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003633/1.239, allocations: 1.305 MB / 1.499 GB, free: 7.66 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/1.239, allocations: 5.562 kB / 1.499 GB, free: 7.656 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.239, allocations: 8.156 kB / 1.499 GB, free: 7.648 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006668/1.24, allocations: 80.77 kB / 1.499 GB, free: 7.566 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.241, allocations: 283.6 kB / 1.499 GB, free: 7.289 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/1.244, allocations: 1.65 MB / 1.501 GB, free: 5.492 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/1.245, allocations: 135.3 kB / 1.501 GB, free: 5.359 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/1.246, allocations: 51.95 kB / 1.501 GB, free: 5.309 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009749/1.247, allocations: 381.6 kB / 1.501 GB, free: 4.926 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005286/1.247, allocations: 154.9 kB / 1.502 GB, free: 4.773 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/1.251, allocations: 1.602 MB / 1.503 GB, free: 3.156 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/1.251, allocations: 16 kB / 1.503 GB, free: 3.141 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.251, allocations: 0 / 1.503 GB, free: 3.141 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/1.251, allocations: 7.969 kB / 1.503 GB, free: 3.133 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007426/1.259, allocations: 3.171 MB / 1.506 GB, free: 15.9 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/1.259, allocations: 3.938 kB / 1.506 GB, free: 15.9 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.26, allocations: 267.7 kB / 1.507 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/1.26, allocations: 72.78 kB / 1.507 GB, free: 15.56 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.26, allocations: 35.97 kB / 1.507 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/1.263, allocations: 1.674 MB / 1.508 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.263, allocations: 0 / 1.508 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005267/1.268, allocations: 2.191 MB / 1.51 GB, free: 11.49 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.269, allocations: 411.6 kB / 1.511 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004145/1.27, allocations: 28 kB / 1.511 GB, free: 11.04 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/1.271, allocations: 89.8 kB / 1.511 GB, free: 10.96 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/1.271, allocations: 93.19 kB / 1.511 GB, free: 10.87 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.272, allocations: 59.89 kB / 1.511 GB, free: 10.81 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001418/1.273, allocations: 0.6841 MB / 1.512 GB, free: 10.12 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/1.273, allocations: 0 / 1.512 GB, free: 10.12 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002037/1.275, allocations: 0.561 MB / 1.512 GB, free: 9.555 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007567/1.283, allocations: 3.348 MB / 1.516 GB, free: 6.379 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003386/1.286, allocations: 1.201 MB / 1.517 GB, free: 5.164 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/1.286, allocations: 448 / 1.517 GB, free: 5.164 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/1.288, allocations: 0.7128 MB / 1.517 GB, free: 4.441 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/1.291, allocations: 0.587 MB / 1.518 GB, free: 3.875 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/1.316, allocations: 10.08 MB / 1.528 GB, free: 9.617 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/1.318, allocations: 1.303 MB / 1.529 GB, free: 8.281 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002346/1.32, allocations: 438.8 kB / 1.53 GB, free: 7.848 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/1.322, allocations: 0.6633 MB / 1.53 GB, free: 7.184 MB / 1.232 GB Notification: Performance of SimCode: time 2.144e-06/1.322, allocations: 3.938 kB / 1.53 GB, free: 7.18 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/1.429, allocations: 37.57 MB / 1.567 GB, free: 2.012 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/16.14, allocations: 9.875 kB / 1.567 GB, free: 2.004 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.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: 22.54169028205797]