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.007481/0.007481, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001682/0.001682, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.793/2.793, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3038, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.8686/1.172, allocations: 176.1 MB / 1.38 GB, free: 10.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02502/1.198, allocations: 15.66 MB / 1.395 GB, free: 14.15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/1.2, allocations: 32.25 kB / 1.395 GB, free: 14.14 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002304/1.202, allocations: 0.6148 MB / 1.396 GB, free: 13.62 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005137/1.207, allocations: 1.57 MB / 1.397 GB, free: 12.41 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004674/1.212, allocations: 1.678 MB / 1.399 GB, free: 11.16 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004551/1.217, allocations: 2.909 MB / 1.402 GB, free: 9.434 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003199/1.22, allocations: 1.842 MB / 1.403 GB, free: 8.23 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/1.224, allocations: 1.406 MB / 1.405 GB, free: 7.453 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/1.226, allocations: 1.04 MB / 1.406 GB, free: 6.762 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005418/1.226, allocations: 201.6 kB / 1.406 GB, free: 6.758 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/1.23, allocations: 1.346 MB / 1.407 GB, free: 6.121 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008291/1.231, allocations: 0.5679 MB / 1.408 GB, free: 5.684 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001942/1.232, allocations: 1.037 MB / 1.409 GB, free: 4.965 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005756/1.238, allocations: 3.005 MB / 1.412 GB, free: 2.883 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.238, allocations: 2.094 kB / 1.412 GB, free: 2.883 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.214e-06/1.238, allocations: 0 / 1.412 GB, free: 2.883 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001139/1.238, allocations: 0 / 1.412 GB, free: 2.883 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.00517/1.244, allocations: 2.305 MB / 1.414 GB, free: 1.172 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/1.244, allocations: 8.594 kB / 1.414 GB, free: 1.172 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/1.247, allocations: 473.6 kB / 1.415 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/1.249, allocations: 1.13 MB / 1.416 GB, free: 80 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/1.249, allocations: 120.5 kB / 1.416 GB, free: 24 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/1.25, allocations: 155.4 kB / 1.416 GB, free: 15.97 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003611/1.253, allocations: 1.782 MB / 1.418 GB, free: 14.85 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/1.253, allocations: 3.906 kB / 1.418 GB, free: 14.85 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/1.254, allocations: 76.92 kB / 1.418 GB, free: 14.79 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/1.254, allocations: 45.44 kB / 1.418 GB, free: 14.79 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/1.257, allocations: 1.772 MB / 1.42 GB, free: 13.77 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.009506/1.267, allocations: 6.145 MB / 1.426 GB, free: 7.262 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/1.269, allocations: 1.559 MB / 1.427 GB, free: 5.645 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/1.27, allocations: 0.5698 MB / 1.428 GB, free: 5.074 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009204/1.271, allocations: 0.8828 MB / 1.429 GB, free: 4.004 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001478/1.273, allocations: 0.805 MB / 1.429 GB, free: 3.18 MB / 1.107 GB Notification: Performance of pre-optimization done (n=126): time 3.236e-06/1.273, allocations: 0 / 1.429 GB, free: 3.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=126): time 0.00488/1.278, allocations: 1.887 MB / 1.431 GB, free: 1.266 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/1.278, allocations: 192.9 kB / 1.431 GB, free: 1.035 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/1.279, allocations: 0.9833 MB / 1.432 GB, free: 36 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/1.28, allocations: 57.78 kB / 1.432 GB, free: 15.97 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/1.28, allocations: 0.6527 MB / 1.433 GB, free: 15.3 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/1.28, allocations: 421.9 kB / 1.433 GB, free: 14.89 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/1.281, allocations: 230.8 kB / 1.434 GB, free: 14.66 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.281, allocations: 349.9 kB / 1.434 GB, free: 14.31 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009476/1.282, allocations: 450.4 kB / 1.434 GB, free: 13.87 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/1.283, allocations: 0.6019 MB / 1.435 GB, free: 13.23 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/1.285, allocations: 1.031 MB / 1.436 GB, free: 12.18 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/1.285, allocations: 0 / 1.436 GB, free: 12.18 MB / 1.123 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003115/1.288, allocations: 1.355 MB / 1.437 GB, free: 10.82 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.288, allocations: 13.86 kB / 1.437 GB, free: 10.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/1.288, allocations: 0 / 1.437 GB, free: 10.8 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006204/1.289, allocations: 88.88 kB / 1.437 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/1.29, allocations: 287.6 kB / 1.438 GB, free: 10.43 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/1.292, allocations: 1.666 MB / 1.439 GB, free: 8.625 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.294, allocations: 141.8 kB / 1.439 GB, free: 8.488 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/1.294, allocations: 51.97 kB / 1.439 GB, free: 8.438 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: 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.0006661/1.294, allocations: 379.3 kB / 1.44 GB, free: 8.059 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/1.295, allocations: 134.4 kB / 1.44 GB, free: 7.926 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/1.298, allocations: 1.602 MB / 1.442 GB, free: 6.305 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/1.298, allocations: 19.98 kB / 1.442 GB, free: 6.285 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.298, allocations: 0 / 1.442 GB, free: 6.285 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.298, allocations: 11.97 kB / 1.442 GB, free: 6.273 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005748/1.304, allocations: 3.159 MB / 1.445 GB, free: 3.051 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/1.304, allocations: 4 kB / 1.445 GB, free: 3.047 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/1.306, allocations: 267.7 kB / 1.445 GB, free: 2.785 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004768/1.306, allocations: 76.72 kB / 1.445 GB, free: 2.707 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/1.306, allocations: 35.97 kB / 1.445 GB, free: 2.672 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/1.308, allocations: 1.67 MB / 1.447 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.308, allocations: 0 / 1.447 GB, free: 0.8516 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004286/1.312, allocations: 2.178 MB / 1.449 GB, free: 14.65 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007579/1.313, allocations: 403 kB / 1.449 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/1.313, allocations: 27.92 kB / 1.449 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.315, allocations: 86.3 kB / 1.449 GB, free: 14.12 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/1.315, allocations: 97.16 kB / 1.449 GB, free: 14.03 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.315, allocations: 67.95 kB / 1.449 GB, free: 13.96 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009604/1.316, allocations: 0.6839 MB / 1.45 GB, free: 13.27 MB / 1.139 GB Notification: Performance of sort global known variables: time 4.01e-07/1.316, allocations: 0 / 1.45 GB, free: 13.27 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00145/1.317, allocations: 0.5416 MB / 1.451 GB, free: 12.73 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.00175/1.319, allocations: 0.7083 MB / 1.451 GB, free: 12.2 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002695/1.322, allocations: 1.275 MB / 1.453 GB, free: 10.91 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.322, allocations: 4.875 kB / 1.453 GB, free: 10.9 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/1.323, allocations: 0.7712 MB / 1.453 GB, free: 10.12 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/1.326, allocations: 0.5669 MB / 1.454 GB, free: 9.57 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005573/1.332, allocations: 2.841 MB / 1.457 GB, free: 6.699 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.333, allocations: 1.307 MB / 1.458 GB, free: 5.359 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001649/1.334, allocations: 442.8 kB / 1.458 GB, free: 4.922 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004844/1.335, allocations: 159.3 kB / 1.458 GB, free: 4.77 MB / 1.139 GB Notification: Performance of SimCode: time 6.52e-07/1.335, allocations: 0 / 1.458 GB, free: 4.77 MB / 1.139 GB Notification: Performance of Templates: time 0.04605/1.381, allocations: 27.55 MB / 1.485 GB, free: 9.547 MB / 1.17 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