Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005573/0.005573, allocations: 102.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 196.5 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.41/2.41, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8958/0.8972, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.201/1.098, allocations: 176.2 MB / 1.338 GB, free: 2.871 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0216/1.12, allocations: 15.66 MB / 1.353 GB, free: 3.152 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/1.122, allocations: 27.88 kB / 1.354 GB, free: 3.125 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002407/1.124, allocations: 0.6362 MB / 1.354 GB, free: 2.484 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005276/1.13, allocations: 1.602 MB / 1.356 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004877/1.134, allocations: 1.691 MB / 1.357 GB, free: 15.2 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004308/1.139, allocations: 2.91 MB / 1.36 GB, free: 12.28 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002973/1.142, allocations: 1.859 MB / 1.362 GB, free: 10.36 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/1.146, allocations: 1.415 MB / 1.363 GB, free: 8.98 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/1.148, allocations: 1.046 MB / 1.364 GB, free: 7.93 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006975/1.148, allocations: 200 kB / 1.365 GB, free: 7.734 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/1.152, allocations: 1.338 MB / 1.366 GB, free: 6.395 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00079/1.152, allocations: 0.5686 MB / 1.366 GB, free: 5.824 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001944/1.154, allocations: 1.034 MB / 1.367 GB, free: 4.785 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005224/1.16, allocations: 3.014 MB / 1.37 GB, free: 1.762 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.16, allocations: 0 / 1.37 GB, free: 1.762 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.933e-06/1.16, allocations: 4 kB / 1.37 GB, free: 1.758 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001108/1.16, allocations: 0 / 1.37 GB, free: 1.758 MB / 1.092 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.00549/1.165, allocations: 2.314 MB / 1.373 GB, free: 15.38 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.165, allocations: 8.625 kB / 1.373 GB, free: 15.37 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004435/1.166, allocations: 236.3 kB / 1.373 GB, free: 15.13 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/1.169, allocations: 465.2 kB / 1.373 GB, free: 14.67 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/1.171, allocations: 1.136 MB / 1.374 GB, free: 13.49 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/1.171, allocations: 123.2 kB / 1.375 GB, free: 13.37 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003042/1.172, allocations: 160 kB / 1.375 GB, free: 13.21 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/1.175, allocations: 1.78 MB / 1.376 GB, free: 11.35 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-05/1.175, allocations: 7.938 kB / 1.376 GB, free: 11.34 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001999/1.176, allocations: 68 kB / 1.377 GB, free: 11.28 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.08e-05/1.176, allocations: 51.98 kB / 1.377 GB, free: 11.23 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003283/1.179, allocations: 1.772 MB / 1.378 GB, free: 9.449 MB / 1.107 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.009862/1.189, allocations: 6.144 MB / 1.384 GB, free: 2.941 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/1.192, allocations: 1.567 MB / 1.386 GB, free: 1.316 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/1.193, allocations: 0.5597 MB / 1.386 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009155/1.194, allocations: 0.8867 MB / 1.387 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001476/1.195, allocations: 0.8071 MB / 1.388 GB, free: 14.86 MB / 1.123 GB Notification: Performance of pre-optimization done (n=126): time 3.707e-06/1.195, allocations: 0 / 1.388 GB, free: 14.86 MB / 1.123 GB Notification: Performance of matching and sorting (n=126): time 0.004927/1.2, allocations: 1.883 MB / 1.39 GB, free: 12.95 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.2, allocations: 192.9 kB / 1.39 GB, free: 12.72 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/1.202, allocations: 0.9837 MB / 1.391 GB, free: 11.72 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001846/1.202, allocations: 57.7 kB / 1.391 GB, free: 11.66 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007641/1.203, allocations: 0.6645 MB / 1.392 GB, free: 10.98 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004756/1.203, allocations: 421.9 kB / 1.392 GB, free: 10.56 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004893/1.204, allocations: 214.8 kB / 1.392 GB, free: 10.35 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.204, allocations: 345.9 kB / 1.393 GB, free: 10 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/1.205, allocations: 426.4 kB / 1.393 GB, free: 9.586 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/1.206, allocations: 0.5897 MB / 1.394 GB, free: 8.949 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/1.208, allocations: 1.019 MB / 1.395 GB, free: 7.906 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.208, allocations: 0 / 1.395 GB, free: 7.906 MB / 1.123 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003159/1.211, allocations: 1.305 MB / 1.396 GB, free: 6.59 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.211, allocations: 8 kB / 1.396 GB, free: 6.582 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.211, allocations: 0 / 1.396 GB, free: 6.582 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006178/1.212, allocations: 84.81 kB / 1.396 GB, free: 6.496 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.213, allocations: 283.6 kB / 1.396 GB, free: 6.219 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/1.216, allocations: 1.655 MB / 1.398 GB, free: 4.422 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.217, allocations: 134.8 kB / 1.398 GB, free: 4.289 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/1.217, allocations: 43.97 kB / 1.398 GB, free: 4.246 MB / 1.123 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.0008556/1.218, allocations: 381.6 kB / 1.398 GB, free: 3.863 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/1.219, allocations: 142.2 kB / 1.399 GB, free: 3.723 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/1.222, allocations: 1.598 MB / 1.4 GB, free: 2.113 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/1.222, allocations: 16 kB / 1.4 GB, free: 2.098 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.222, allocations: 4 kB / 1.4 GB, free: 2.094 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/1.222, allocations: 11.95 kB / 1.4 GB, free: 2.082 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006054/1.228, allocations: 3.167 MB / 1.403 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/1.228, allocations: 3.938 kB / 1.403 GB, free: 14.84 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.23, allocations: 267.7 kB / 1.404 GB, free: 14.58 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/1.23, allocations: 68.8 kB / 1.404 GB, free: 14.51 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/1.23, allocations: 39.95 kB / 1.404 GB, free: 14.47 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/1.232, allocations: 1.658 MB / 1.405 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.232, allocations: 7.969 kB / 1.405 GB, free: 12.66 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/1.237, allocations: 2.182 MB / 1.407 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008426/1.238, allocations: 398.9 kB / 1.408 GB, free: 10.04 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003036/1.238, allocations: 28 kB / 1.408 GB, free: 10.02 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/1.239, allocations: 87.97 kB / 1.408 GB, free: 9.93 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/1.24, allocations: 101.1 kB / 1.408 GB, free: 9.832 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.24, allocations: 55.95 kB / 1.408 GB, free: 9.777 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001198/1.241, allocations: 0.688 MB / 1.409 GB, free: 9.082 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/1.241, allocations: 0 / 1.409 GB, free: 9.082 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001836/1.243, allocations: 0.5415 MB / 1.409 GB, free: 8.539 MB / 1.139 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.006696/1.249, allocations: 3.347 MB / 1.413 GB, free: 5.332 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002679/1.252, allocations: 1.24 MB / 1.414 GB, free: 4.078 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.252, allocations: 4.438 kB / 1.414 GB, free: 4.074 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/1.254, allocations: 0.7596 MB / 1.414 GB, free: 3.305 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/1.256, allocations: 0.586 MB / 1.415 GB, free: 2.738 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/1.276, allocations: 10.03 MB / 1.425 GB, free: 8.539 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/1.277, allocations: 1.307 MB / 1.426 GB, free: 7.203 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001921/1.279, allocations: 438.8 kB / 1.427 GB, free: 6.77 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.28, allocations: 0.6632 MB / 1.427 GB, free: 6.105 MB / 1.154 GB Notification: Performance of SimCode: time 1.874e-06/1.28, allocations: 4 kB / 1.427 GB, free: 6.102 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07677/1.357, allocations: 37.38 MB / 1.464 GB, free: 1.059 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/15.22, allocations: 15.62 kB / 1.464 GB, free: 1.043 MB / 1.186 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches