Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_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_latest_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.001578/0.001578, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001568/0.001568, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 67.92 kB / 0.9245 GB, free: 8 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.775, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.209/0.984, allocations: 168.4 MB / 1.247 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02359/1.008, allocations: 17.35 MB / 1.264 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/1.01, allocations: 31.81 kB / 1.264 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/1.011, allocations: 0.5699 MB / 1.265 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005248/1.017, allocations: 1.775 MB / 1.267 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003603/1.02, allocations: 1.427 MB / 1.268 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003961/1.024, allocations: 2.843 MB / 1.271 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002906/1.027, allocations: 1.948 MB / 1.273 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004235/1.031, allocations: 1.414 MB / 1.274 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/1.033, allocations: 1.109 MB / 1.275 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004195/1.034, allocations: 220 kB / 1.275 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/1.037, allocations: 1.517 MB / 1.277 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007789/1.038, allocations: 0.7946 MB / 1.278 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/1.039, allocations: 1.213 MB / 1.279 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005051/1.044, allocations: 3.524 MB / 1.282 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.044, allocations: 0 / 1.282 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/1.044, allocations: 0 / 1.282 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.363e-05/1.044, allocations: 0 / 1.282 GB, free: 2.129 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004808/1.049, allocations: 2.752 MB / 1.285 GB, free: 15.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.049, allocations: 8.031 kB / 1.285 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003647/1.053, allocations: 0.5589 MB / 1.286 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/1.055, allocations: 1.595 MB / 1.287 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/1.055, allocations: 131.4 kB / 1.287 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/1.055, allocations: 171.9 kB / 1.287 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/1.059, allocations: 1.948 MB / 1.289 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/1.059, allocations: 0 / 1.289 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/1.059, allocations: 76 kB / 1.289 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/1.059, allocations: 40 kB / 1.289 GB, free: 10.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/1.063, allocations: 2.089 MB / 1.291 GB, free: 8.582 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009529/1.072, allocations: 6.283 MB / 1.298 GB, free: 1.906 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/1.076, allocations: 2.093 MB / 1.3 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/1.077, allocations: 0.7608 MB / 1.3 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006075/1.078, allocations: 425.6 kB / 1.301 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/1.08, allocations: 1.009 MB / 1.302 GB, free: 13.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.096e-06/1.08, allocations: 0 / 1.302 GB, free: 13.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.006981/1.087, allocations: 2.95 MB / 1.305 GB, free: 10.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.087, allocations: 201.2 kB / 1.305 GB, free: 10.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/1.089, allocations: 1.784 MB / 1.307 GB, free: 8.355 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001998/1.089, allocations: 65.69 kB / 1.307 GB, free: 8.285 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007978/1.09, allocations: 0.8233 MB / 1.307 GB, free: 7.449 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004982/1.091, allocations: 488.9 kB / 1.308 GB, free: 6.965 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/1.091, allocations: 262.7 kB / 1.308 GB, free: 6.699 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.091, allocations: 357.9 kB / 1.308 GB, free: 6.344 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/1.093, allocations: 0.596 MB / 1.309 GB, free: 5.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/1.094, allocations: 0.7951 MB / 1.31 GB, free: 4.902 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/1.096, allocations: 1.329 MB / 1.311 GB, free: 3.562 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.096, allocations: 0 / 1.311 GB, free: 3.562 MB / 1.029 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004135/1.101, allocations: 1.811 MB / 1.313 GB, free: 1.727 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/1.101, allocations: 11.94 kB / 1.313 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.101, allocations: 0 / 1.313 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/1.102, allocations: 220.2 kB / 1.313 GB, free: 1.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.103, allocations: 327.6 kB / 1.313 GB, free: 1.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006712/1.11, allocations: 7.317 MB / 1.321 GB, free: 9.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/1.112, allocations: 162.7 kB / 1.321 GB, free: 8.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/1.112, allocations: 55.95 kB / 1.321 GB, free: 8.926 MB / 1.045 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.001012/1.113, allocations: 492.9 kB / 1.321 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004157/1.113, allocations: 177.8 kB / 1.321 GB, free: 8.258 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004641/1.118, allocations: 2.129 MB / 1.324 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/1.118, allocations: 16 kB / 1.324 GB, free: 6.086 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.118, allocations: 3.938 kB / 1.324 GB, free: 6.082 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/1.118, allocations: 11.97 kB / 1.324 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007247/1.125, allocations: 3.979 MB / 1.327 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.125, allocations: 0 / 1.327 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/1.127, allocations: 319.5 kB / 1.328 GB, free: 1.699 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009226/1.128, allocations: 200.1 kB / 1.328 GB, free: 1.488 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/1.128, allocations: 47.95 kB / 1.328 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006845/1.135, allocations: 7.345 MB / 1.335 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.135, allocations: 3.938 kB / 1.335 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/1.14, allocations: 1.986 MB / 1.337 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.141, allocations: 462.4 kB / 1.338 GB, free: 6.895 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/1.142, allocations: 39.98 kB / 1.338 GB, free: 6.855 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.143, allocations: 93.59 kB / 1.338 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/1.143, allocations: 117.1 kB / 1.338 GB, free: 6.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.143, allocations: 75.94 kB / 1.338 GB, free: 6.574 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001782/1.145, allocations: 1.281 MB / 1.339 GB, free: 5.297 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/1.145, allocations: 0 / 1.339 GB, free: 5.297 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001931/1.147, allocations: 0.682 MB / 1.34 GB, free: 4.613 MB / 1.061 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.002371/1.149, allocations: 0.7589 MB / 1.341 GB, free: 4.039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005714/1.155, allocations: 2.519 MB / 1.343 GB, free: 1.453 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.155, allocations: 0.5625 kB / 1.343 GB, free: 1.453 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002375/1.158, allocations: 1.418 MB / 1.344 GB, free: 15.97 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/1.16, allocations: 0.5495 MB / 1.345 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006807/1.167, allocations: 3.69 MB / 1.348 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/1.168, allocations: 1.489 MB / 1.35 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007745/1.169, allocations: 195.3 kB / 1.35 GB, free: 10.01 MB / 1.076 GB Notification: Performance of SimCode: time 7.21e-07/1.169, allocations: 0 / 1.35 GB, free: 10.01 MB / 1.076 GB Notification: Performance of Templates: time 0.0803/1.249, allocations: 66.9 MB / 1.415 GB, free: 7.156 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches