Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007333/0.007334, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001668/0.001668, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.371/2.371, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 67.27 kB / 0.9508 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3113, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1736/0.4849, allocations: 167.2 MB / 1.251 GB, free: 9.652 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6973/1.182, allocations: 17.19 MB / 1.268 GB, free: 3.617 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/1.184, allocations: 28.78 kB / 1.268 GB, free: 3.617 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/1.185, allocations: 0.5325 MB / 1.268 GB, free: 3.617 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004886/1.19, allocations: 1.675 MB / 1.27 GB, free: 3.582 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003853/1.194, allocations: 1.428 MB / 1.272 GB, free: 3.547 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004281/1.198, allocations: 2.661 MB / 1.274 GB, free: 3.539 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003468/1.202, allocations: 1.995 MB / 1.276 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005512/1.207, allocations: 1.396 MB / 1.277 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/1.21, allocations: 1.077 MB / 1.278 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004907/1.21, allocations: 222.7 kB / 1.279 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004066/1.215, allocations: 1.554 MB / 1.28 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009516/1.215, allocations: 0.7883 MB / 1.281 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001878/1.217, allocations: 1.18 MB / 1.282 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006842/1.224, allocations: 3.525 MB / 1.286 GB, free: 2.633 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.224, allocations: 0 / 1.286 GB, free: 2.633 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.254e-06/1.224, allocations: 0 / 1.286 GB, free: 2.633 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.109e-05/1.224, allocations: 2.469 kB / 1.286 GB, free: 2.633 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005854/1.23, allocations: 2.716 MB / 1.288 GB, free: 1.312 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.23, allocations: 12.17 kB / 1.288 GB, free: 1.312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/1.234, allocations: 0.5532 MB / 1.289 GB, free: 1.184 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003032/1.237, allocations: 1.634 MB / 1.29 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.237, allocations: 131.4 kB / 1.291 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/1.238, allocations: 167.3 kB / 1.291 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/1.241, allocations: 1.943 MB / 1.293 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/1.241, allocations: 0.9375 kB / 1.293 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/1.242, allocations: 77.94 kB / 1.293 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/1.242, allocations: 40.75 kB / 1.293 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003693/1.245, allocations: 2.093 MB / 1.295 GB, free: 0.5117 MB / 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.009543/1.255, allocations: 5.643 MB / 1.3 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/1.258, allocations: 2.099 MB / 1.302 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/1.259, allocations: 0.7597 MB / 1.303 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006045/1.26, allocations: 429.1 kB / 1.303 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/1.262, allocations: 1.011 MB / 1.304 GB, free: 13.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.246e-06/1.262, allocations: 3.094 kB / 1.304 GB, free: 13.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.006806/1.269, allocations: 2.949 MB / 1.307 GB, free: 13.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/1.269, allocations: 200.6 kB / 1.308 GB, free: 12.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/1.271, allocations: 1.782 MB / 1.309 GB, free: 12.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002883/1.272, allocations: 61.8 kB / 1.309 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006839/1.272, allocations: 0.8311 MB / 1.31 GB, free: 12.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004539/1.273, allocations: 481.8 kB / 1.311 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004432/1.273, allocations: 254.7 kB / 1.311 GB, free: 12.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.273, allocations: 360 kB / 1.311 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/1.275, allocations: 0.5933 MB / 1.312 GB, free: 11.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/1.276, allocations: 0.7973 MB / 1.313 GB, free: 11.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/1.278, allocations: 1.335 MB / 1.314 GB, free: 11.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.278, allocations: 2.062 kB / 1.314 GB, free: 11.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004048/1.282, allocations: 1.808 MB / 1.316 GB, free: 11.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.282, allocations: 4.938 kB / 1.316 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.282, allocations: 2.781 kB / 1.316 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/1.283, allocations: 221 kB / 1.316 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/1.285, allocations: 335.2 kB / 1.316 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005921/1.291, allocations: 7.314 MB / 1.323 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/1.293, allocations: 159.9 kB / 1.323 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/1.293, allocations: 59.77 kB / 1.323 GB, free: 4.457 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00108/1.294, allocations: 497.5 kB / 1.324 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/1.294, allocations: 177.4 kB / 1.324 GB, free: 4.238 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/1.299, allocations: 2.125 MB / 1.326 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.299, allocations: 17.06 kB / 1.326 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.299, allocations: 2.5 kB / 1.326 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.299, allocations: 8.672 kB / 1.326 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006552/1.305, allocations: 3.981 MB / 1.33 GB, free: 3.172 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.305, allocations: 0 / 1.33 GB, free: 3.172 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.307, allocations: 316.5 kB / 1.33 GB, free: 3.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008772/1.307, allocations: 209.6 kB / 1.331 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/1.308, allocations: 45.95 kB / 1.331 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005636/1.313, allocations: 7.35 MB / 1.338 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.313, allocations: 3.219 kB / 1.338 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/1.317, allocations: 1.985 MB / 1.34 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000981/1.318, allocations: 471.4 kB / 1.34 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/1.319, allocations: 29.56 kB / 1.34 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.32, allocations: 107.5 kB / 1.34 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/1.32, allocations: 111.2 kB / 1.34 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.32, allocations: 70.06 kB / 1.341 GB, free: 10.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001592/1.322, allocations: 1.277 MB / 1.342 GB, free: 10.22 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.91e-07/1.322, allocations: 3.625 kB / 1.342 GB, free: 10.22 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001961/1.324, allocations: 0.6644 MB / 1.342 GB, free: 10.05 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001741/1.326, allocations: 0.7472 MB / 1.343 GB, free: 9.777 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003357/1.329, allocations: 2.077 MB / 1.345 GB, free: 8.781 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.329, allocations: 3.5 kB / 1.345 GB, free: 8.781 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/1.331, allocations: 1.419 MB / 1.347 GB, free: 7.977 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/1.333, allocations: 0.5213 MB / 1.347 GB, free: 7.789 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007202/1.341, allocations: 3.818 MB / 1.351 GB, free: 6.062 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/1.342, allocations: 1.534 MB / 1.352 GB, free: 5.258 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001896/1.344, allocations: 0.4895 MB / 1.353 GB, free: 5.113 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/1.344, allocations: 174.4 kB / 1.353 GB, free: 5.09 MB / 1.045 GB Notification: Performance of SimCode: time 7.41e-07/1.344, allocations: 2.719 kB / 1.353 GB, free: 5.09 MB / 1.045 GB Notification: Performance of Templates: time 0.05088/1.395, allocations: 31.3 MB / 1.384 GB, free: 0.8242 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches