Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_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.007528/0.007528, allocations: 101 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.001814/0.001814, allocations: 186.5 kB / 16.67 MB, free: 5.977 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.52 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2836, allocations: 140.4 MB / 1.087 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1995/0.4832, allocations: 175.2 MB / 1.259 GB, free: 2.094 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.7135/1.197, allocations: 15.54 MB / 1.274 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/1.199, allocations: 29.62 kB / 1.274 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001919/1.201, allocations: 0.5997 MB / 1.274 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004973/1.206, allocations: 1.523 MB / 1.276 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004994/1.211, allocations: 1.678 MB / 1.277 GB, free: 2.992 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005004/1.216, allocations: 2.739 MB / 1.28 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003494/1.219, allocations: 1.904 MB / 1.282 GB, free: 2.727 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004369/1.223, allocations: 1.394 MB / 1.283 GB, free: 2.711 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/1.226, allocations: 1.03 MB / 1.284 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005338/1.226, allocations: 198.6 kB / 1.285 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/1.23, allocations: 1.335 MB / 1.286 GB, free: 2.684 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007079/1.231, allocations: 0.5666 MB / 1.286 GB, free: 2.684 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001613/1.232, allocations: 1.004 MB / 1.287 GB, free: 2.629 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006086/1.239, allocations: 2.965 MB / 1.29 GB, free: 2.207 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/1.239, allocations: 1.344 kB / 1.29 GB, free: 2.207 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.874e-06/1.239, allocations: 0.8125 kB / 1.29 GB, free: 2.207 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.344e-05/1.239, allocations: 0 / 1.29 GB, free: 2.207 MB / 1.014 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.005215/1.244, allocations: 2.279 MB / 1.293 GB, free: 1.117 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.244, allocations: 10.59 kB / 1.293 GB, free: 1.117 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003393/1.244, allocations: 234.7 kB / 1.293 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003345/1.248, allocations: 473.2 kB / 1.293 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/1.25, allocations: 1.139 MB / 1.294 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/1.25, allocations: 125.3 kB / 1.294 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/1.25, allocations: 154.8 kB / 1.295 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/1.254, allocations: 1.79 MB / 1.296 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/1.254, allocations: 0.5625 kB / 1.296 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/1.254, allocations: 69.78 kB / 1.296 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.777e-05/1.254, allocations: 51.34 kB / 1.296 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003191/1.257, allocations: 1.77 MB / 1.298 GB, free: 316 kB / 1.014 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.008555/1.266, allocations: 5.841 MB / 1.304 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/1.268, allocations: 1.553 MB / 1.305 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009948/1.269, allocations: 0.5667 MB / 1.306 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009196/1.27, allocations: 0.88 MB / 1.307 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001436/1.272, allocations: 0.8096 MB / 1.308 GB, free: 12.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=126): time 4.97e-06/1.272, allocations: 4.953 kB / 1.308 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=126): time 0.004836/1.277, allocations: 1.882 MB / 1.309 GB, free: 12.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.277, allocations: 198 kB / 1.31 GB, free: 11.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/1.278, allocations: 0.9814 MB / 1.311 GB, free: 11.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/1.278, allocations: 55.52 kB / 1.311 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006264/1.279, allocations: 0.6602 MB / 1.311 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000389/1.279, allocations: 414 kB / 1.312 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004092/1.28, allocations: 215.4 kB / 1.312 GB, free: 11.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.28, allocations: 349.7 kB / 1.312 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008451/1.281, allocations: 426.7 kB / 1.313 GB, free: 10.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009945/1.282, allocations: 0.5937 MB / 1.313 GB, free: 10.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/1.284, allocations: 1.015 MB / 1.314 GB, free: 10.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/1.284, allocations: 1.844 kB / 1.314 GB, free: 10.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002987/1.287, allocations: 1.301 MB / 1.315 GB, free: 10.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.287, allocations: 7.219 kB / 1.315 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.287, allocations: 5.531 kB / 1.315 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005768/1.287, allocations: 85.47 kB / 1.316 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.289, allocations: 285.7 kB / 1.316 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/1.291, allocations: 1.645 MB / 1.317 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.292, allocations: 137.9 kB / 1.318 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/1.292, allocations: 48.12 kB / 1.318 GB, free: 9.125 MB / 1.029 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.0008335/1.293, allocations: 385 kB / 1.318 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003331/1.293, allocations: 135.6 kB / 1.318 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/1.297, allocations: 1.609 MB / 1.32 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.297, allocations: 17.28 kB / 1.32 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.297, allocations: 0 / 1.32 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/1.297, allocations: 8.969 kB / 1.32 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005149/1.302, allocations: 3.159 MB / 1.323 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.302, allocations: 1.031 kB / 1.323 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/1.303, allocations: 270.8 kB / 1.323 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/1.303, allocations: 77.06 kB / 1.323 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/1.304, allocations: 35.22 kB / 1.323 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/1.306, allocations: 1.675 MB / 1.325 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.306, allocations: 0.875 kB / 1.325 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00421/1.31, allocations: 2.176 MB / 1.327 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.311, allocations: 405.2 kB / 1.327 GB, free: 5.609 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.311, allocations: 30.09 kB / 1.327 GB, free: 5.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/1.313, allocations: 89.66 kB / 1.327 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/1.313, allocations: 97.67 kB / 1.328 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.313, allocations: 61.67 kB / 1.328 GB, free: 5.543 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009865/1.314, allocations: 0.6829 MB / 1.328 GB, free: 5.258 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.314, allocations: 0.8438 kB / 1.328 GB, free: 5.258 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001668/1.316, allocations: 0.5314 MB / 1.329 GB, free: 5.109 MB / 1.029 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.006404/1.322, allocations: 3.34 MB / 1.332 GB, free: 3.469 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002589/1.325, allocations: 1.245 MB / 1.333 GB, free: 3.008 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.325, allocations: 8.047 kB / 1.333 GB, free: 3.004 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/1.326, allocations: 0.7617 MB / 1.334 GB, free: 2.711 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.328, allocations: 0.5591 MB / 1.335 GB, free: 2.535 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/1.349, allocations: 10.14 MB / 1.344 GB, free: 13.86 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.35, allocations: 1.312 MB / 1.346 GB, free: 13.1 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001932/1.352, allocations: 433.1 kB / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.353, allocations: 0.6614 MB / 1.347 GB, free: 12.48 MB / 1.045 GB Notification: Performance of SimCode: time 1.052e-06/1.353, allocations: 3.938 kB / 1.347 GB, free: 12.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09241/1.446, allocations: 36.69 MB / 1.383 GB, free: 4.918 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.58, allocations: 12.03 kB / 1.383 GB, free: 4.906 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches