Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001274/0.001274, allocations: 193 kB / 16.14 MB, free: 6.719 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.8 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.81 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2984, allocations: 157.4 MB / 1.052 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1911/0.4895, allocations: 173.8 MB / 1.222 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02041/0.51, allocations: 15.69 MB / 1.237 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.5119, allocations: 27.81 kB / 1.237 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.5136, allocations: 0.5126 MB / 1.238 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.5178, allocations: 1.425 MB / 1.239 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.5219, allocations: 1.5 MB / 1.241 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003924/0.5259, allocations: 3.327 MB / 1.244 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/0.5285, allocations: 1.68 MB / 1.245 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00457/0.5331, allocations: 1.219 MB / 1.247 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6827/1.216, allocations: 1.026 MB / 1.248 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008289/1.217, allocations: 107.2 kB / 1.248 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/1.22, allocations: 1.403 MB / 1.249 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005943/1.221, allocations: 486 kB / 1.25 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001637/1.223, allocations: 0.946 MB / 1.251 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004601/1.227, allocations: 2.946 MB / 1.253 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/1.227, allocations: 3.875 kB / 1.253 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.11e-07/1.227, allocations: 0 / 1.253 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.412e-05/1.227, allocations: 0 / 1.253 GB, free: 6.07 MB / 0.9981 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.004751/1.232, allocations: 2.302 MB / 1.256 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.232, allocations: 9.062 kB / 1.256 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003479/1.236, allocations: 460.8 kB / 1.256 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/1.238, allocations: 1.102 MB / 1.257 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-05/1.238, allocations: 122.4 kB / 1.257 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/1.238, allocations: 161.3 kB / 1.257 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/1.241, allocations: 1.784 MB / 1.259 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/1.242, allocations: 3 kB / 1.259 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/1.242, allocations: 68.98 kB / 1.259 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/1.242, allocations: 46.09 kB / 1.259 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/1.245, allocations: 1.771 MB / 1.261 GB, free: 4.238 MB / 0.9981 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.01025/1.255, allocations: 6.172 MB / 1.267 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00297/1.258, allocations: 1.565 MB / 1.269 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/1.259, allocations: 0.5633 MB / 1.269 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/1.261, allocations: 0.8885 MB / 1.27 GB, free: 16.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/1.262, allocations: 0.8076 MB / 1.271 GB, free: 15.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 5.109e-06/1.262, allocations: 0 / 1.271 GB, free: 15.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.005915/1.268, allocations: 1.882 MB / 1.273 GB, free: 15.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/1.269, allocations: 194.4 kB / 1.273 GB, free: 15.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/1.27, allocations: 0.9859 MB / 1.274 GB, free: 15.38 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000302/1.271, allocations: 56.16 kB / 1.274 GB, free: 15.35 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008408/1.272, allocations: 0.6496 MB / 1.274 GB, free: 15.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005422/1.272, allocations: 423.5 kB / 1.275 GB, free: 14.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005392/1.273, allocations: 236.9 kB / 1.275 GB, free: 14.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002731/1.273, allocations: 355.5 kB / 1.275 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/1.274, allocations: 450.8 kB / 1.276 GB, free: 14.48 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/1.275, allocations: 0.5975 MB / 1.276 GB, free: 14.37 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/1.277, allocations: 1.036 MB / 1.277 GB, free: 14.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.277, allocations: 4.031 kB / 1.277 GB, free: 14.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003568/1.281, allocations: 1.346 MB / 1.279 GB, free: 14.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.281, allocations: 6.062 kB / 1.279 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.281, allocations: 3.156 kB / 1.279 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006242/1.282, allocations: 85.83 kB / 1.279 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/1.283, allocations: 291.4 kB / 1.279 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/1.285, allocations: 1.542 MB / 1.281 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/1.287, allocations: 169.4 kB / 1.281 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/1.287, allocations: 54.55 kB / 1.281 GB, free: 12.77 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (144): * Single equations (assignments): 143 * 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.0008602/1.288, allocations: 382.4 kB / 1.281 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/1.288, allocations: 135.5 kB / 1.281 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003589/1.292, allocations: 1.613 MB / 1.283 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/1.292, allocations: 13.47 kB / 1.283 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.292, allocations: 3.141 kB / 1.283 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/1.292, allocations: 7.234 kB / 1.283 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/1.297, allocations: 3.165 MB / 1.286 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.297, allocations: 0 / 1.286 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.299, allocations: 268.9 kB / 1.286 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/1.299, allocations: 86.39 kB / 1.286 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/1.299, allocations: 37.69 kB / 1.286 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/1.301, allocations: 1.563 MB / 1.288 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.301, allocations: 0 / 1.288 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/1.306, allocations: 2.175 MB / 1.29 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/1.307, allocations: 401.8 kB / 1.29 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/1.307, allocations: 28.69 kB / 1.29 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.308, allocations: 124 kB / 1.291 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/1.308, allocations: 95.41 kB / 1.291 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.308, allocations: 60.05 kB / 1.291 GB, free: 10.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009769/1.309, allocations: 0.6802 MB / 1.291 GB, free: 10.15 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.309, allocations: 1.094 kB / 1.291 GB, free: 10.15 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001536/1.311, allocations: 0.5499 MB / 1.292 GB, free: 10.06 MB / 1.014 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.001655/1.313, allocations: 0.7156 MB / 1.293 GB, free: 9.863 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002546/1.315, allocations: 1.275 MB / 1.294 GB, free: 9.719 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.315, allocations: 7.312 kB / 1.294 GB, free: 9.715 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001274/1.316, allocations: 0.7561 MB / 1.295 GB, free: 9.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/1.319, allocations: 0.5354 MB / 1.295 GB, free: 9.555 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/1.324, allocations: 3.583 MB / 1.299 GB, free: 7.727 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008303/1.325, allocations: 1.313 MB / 1.3 GB, free: 6.988 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001758/1.327, allocations: 443.9 kB / 1.3 GB, free: 6.867 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/1.327, allocations: 148.9 kB / 1.301 GB, free: 6.859 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.327, allocations: 0 / 1.301 GB, free: 6.859 MB / 1.014 GB Notification: Performance of Templates: time 0.04301/1.37, allocations: 25.82 MB / 1.326 GB, free: 1.289 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches