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.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.001499/0.001499, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002026/0.002026, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.9/2.9, allocations: 476.8 MB / 0.7715 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp",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.002005/0.002005, allocations: 71.08 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3251, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2302/0.5553, allocations: 179.9 MB / 1.46 GB, free: 7.195 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02662/0.5819, allocations: 16.02 MB / 1.475 GB, free: 7.121 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.5842, allocations: 43.62 kB / 1.476 GB, free: 7.078 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002532/0.5867, allocations: 0.6402 MB / 1.476 GB, free: 6.434 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006658/0.5933, allocations: 1.635 MB / 1.478 GB, free: 4.797 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006557/0.5999, allocations: 1.755 MB / 1.479 GB, free: 3.051 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005946/0.6058, allocations: 2.941 MB / 1.482 GB, free: 100 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003695/0.6095, allocations: 1.486 MB / 1.484 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005439/0.615, allocations: 1.465 MB / 1.485 GB, free: 13.11 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.6175, allocations: 1.078 MB / 1.486 GB, free: 12.03 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0009999/0.6185, allocations: 204 kB / 1.486 GB, free: 11.83 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004338/0.6228, allocations: 1.423 MB / 1.488 GB, free: 10.41 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.624, allocations: 0.5802 MB / 1.488 GB, free: 9.824 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002339/0.6264, allocations: 1.046 MB / 1.489 GB, free: 8.773 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006933/0.6333, allocations: 3.082 MB / 1.492 GB, free: 5.68 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.6333, allocations: 0 / 1.492 GB, free: 5.68 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.053e-06/0.6333, allocations: 0 / 1.492 GB, free: 5.68 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001277/0.6335, allocations: 0 / 1.492 GB, free: 5.68 MB / 1.186 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.006406/0.6399, allocations: 2.321 MB / 1.495 GB, free: 3.309 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.6399, allocations: 15.97 kB / 1.495 GB, free: 3.293 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.524e-05/0.64, allocations: 39.2 kB / 1.495 GB, free: 3.254 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004983/0.6405, allocations: 244.3 kB / 1.495 GB, free: 3.004 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004067/0.6445, allocations: 0.5138 MB / 1.495 GB, free: 2.488 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.6471, allocations: 1.077 MB / 1.497 GB, free: 1.367 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.6473, allocations: 127.2 kB / 1.497 GB, free: 1.242 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003548/0.6476, allocations: 156 kB / 1.497 GB, free: 1.09 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/0.6515, allocations: 1.779 MB / 1.499 GB, free: 15.23 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/0.6515, allocations: 7.922 kB / 1.499 GB, free: 15.23 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/0.6518, allocations: 75.98 kB / 1.499 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-05/0.6518, allocations: 48 kB / 1.499 GB, free: 15.11 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00373/0.6556, allocations: 1.768 MB / 1.5 GB, free: 13.33 MB / 1.201 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.01055/0.6661, allocations: 6.099 MB / 1.506 GB, free: 6.867 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.669, allocations: 1.254 MB / 1.508 GB, free: 5.609 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.6701, allocations: 0.5152 MB / 1.508 GB, free: 5.094 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000643/0.6708, allocations: 144.9 kB / 1.508 GB, free: 4.953 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001664/0.6725, allocations: 0.7972 MB / 1.509 GB, free: 4.133 MB / 1.201 GB Notification: Performance of pre-optimization done (n=126): time 4.338e-06/0.6725, allocations: 0 / 1.509 GB, free: 4.133 MB / 1.201 GB Notification: Performance of matching and sorting (n=126): time 0.005599/0.6781, allocations: 1.82 MB / 1.511 GB, free: 2.309 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/0.6782, allocations: 192.9 kB / 1.511 GB, free: 2.074 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.6806, allocations: 1.016 MB / 1.512 GB, free: 1.043 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002448/0.6809, allocations: 49.7 kB / 1.512 GB, free: 0.9883 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009663/0.6819, allocations: 0.6777 MB / 1.513 GB, free: 308 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006065/0.6825, allocations: 444.2 kB / 1.513 GB, free: 15.86 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005199/0.683, allocations: 210.9 kB / 1.513 GB, free: 15.65 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.6832, allocations: 353.9 kB / 1.514 GB, free: 15.3 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.6842, allocations: 426.4 kB / 1.514 GB, free: 14.88 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.6855, allocations: 0.5975 MB / 1.515 GB, free: 14.23 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.6877, allocations: 1.011 MB / 1.516 GB, free: 13.2 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6877, allocations: 4 kB / 1.516 GB, free: 13.2 MB / 1.217 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003677/0.6913, allocations: 1.313 MB / 1.517 GB, free: 11.88 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.6914, allocations: 8 kB / 1.517 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6914, allocations: 4.156 kB / 1.517 GB, free: 11.86 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/0.692, allocations: 80.78 kB / 1.517 GB, free: 11.78 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.6934, allocations: 283.6 kB / 1.517 GB, free: 11.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.6957, allocations: 1.557 MB / 1.519 GB, free: 9.828 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.6972, allocations: 133.2 kB / 1.519 GB, free: 9.699 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.6974, allocations: 43.97 kB / 1.519 GB, free: 9.656 MB / 1.217 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.001019/0.6984, allocations: 386 kB / 1.519 GB, free: 9.27 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005636/0.699, allocations: 151 kB / 1.519 GB, free: 9.121 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.7031, allocations: 1.618 MB / 1.521 GB, free: 7.484 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.7031, allocations: 12 kB / 1.521 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7031, allocations: 0 / 1.521 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.7031, allocations: 7.969 kB / 1.521 GB, free: 7.465 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006974/0.7101, allocations: 3.155 MB / 1.524 GB, free: 4.254 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.7101, allocations: 4 kB / 1.524 GB, free: 4.25 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.7115, allocations: 267.7 kB / 1.524 GB, free: 3.988 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/0.712, allocations: 76.78 kB / 1.524 GB, free: 3.91 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.7121, allocations: 39.97 kB / 1.525 GB, free: 3.871 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.7144, allocations: 1.567 MB / 1.526 GB, free: 2.188 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.7144, allocations: 3.938 kB / 1.526 GB, free: 2.184 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/0.7199, allocations: 2.187 MB / 1.528 GB, free: 15.97 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/0.7212, allocations: 330.5 kB / 1.528 GB, free: 15.65 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004845/0.7217, allocations: 27.98 kB / 1.529 GB, free: 15.62 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.7232, allocations: 83.98 kB / 1.529 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.7235, allocations: 97.12 kB / 1.529 GB, free: 15.45 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001846/0.7236, allocations: 63.95 kB / 1.529 GB, free: 15.38 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001529/0.7252, allocations: 0.708 MB / 1.529 GB, free: 14.67 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7252, allocations: 3.938 kB / 1.529 GB, free: 14.66 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002364/0.7275, allocations: 0.5494 MB / 1.53 GB, free: 14.11 MB / 1.232 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.008809/0.7363, allocations: 3.339 MB / 1.533 GB, free: 10.93 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003346/0.7397, allocations: 1.205 MB / 1.534 GB, free: 9.711 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.7397, allocations: 4.5 kB / 1.534 GB, free: 9.707 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.7414, allocations: 0.7049 MB / 1.535 GB, free: 8.988 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/0.7451, allocations: 0.5831 MB / 1.536 GB, free: 8.43 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/0.7691, allocations: 10.16 MB / 1.546 GB, free: 14.09 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/0.7705, allocations: 1.307 MB / 1.547 GB, free: 12.75 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002051/0.7726, allocations: 450.8 kB / 1.547 GB, free: 12.3 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/0.7739, allocations: 0.675 MB / 1.548 GB, free: 11.63 MB / 1.248 GB Notification: Performance of SimCode: time 1.363e-06/0.7739, allocations: 0 / 1.548 GB, free: 11.63 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09454/0.8684, allocations: 38.76 MB / 1.586 GB, free: 5.301 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.68/17.54, allocations: 6.172 kB / 1.586 GB, free: 5.297 MB / 1.279 GB " [Timeout remaining time 282] (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/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: 24.767893481999636]