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.001349/0.001349, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00146/0.00146, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.738/2.738, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.58 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3163, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1881/0.5044, allocations: 166.1 MB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02257/0.527, allocations: 17.15 MB / 1.247 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.5289, allocations: 31.81 kB / 1.247 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.531, allocations: 489 kB / 1.247 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005701/0.5367, allocations: 1.64 MB / 1.249 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6463/1.183, allocations: 1.291 MB / 1.25 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004643/1.188, allocations: 2.852 MB / 1.253 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003143/1.191, allocations: 1.948 MB / 1.255 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005932/1.197, allocations: 1.418 MB / 1.256 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/1.199, allocations: 1.147 MB / 1.257 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004044/1.199, allocations: 220.5 kB / 1.257 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/1.202, allocations: 1.558 MB / 1.259 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006559/1.203, allocations: 0.7944 MB / 1.26 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001603/1.205, allocations: 1.221 MB / 1.261 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00649/1.211, allocations: 3.586 MB / 1.264 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.211, allocations: 0 / 1.264 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/1.211, allocations: 0.8438 kB / 1.264 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.803e-05/1.211, allocations: 0 / 1.264 GB, free: 6.184 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.005683/1.217, allocations: 2.756 MB / 1.267 GB, free: 20.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.217, allocations: 10.12 kB / 1.267 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003838/1.221, allocations: 0.5542 MB / 1.268 GB, free: 20.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/1.224, allocations: 1.592 MB / 1.269 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/1.224, allocations: 135.7 kB / 1.269 GB, free: 20.24 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/1.224, allocations: 168.1 kB / 1.27 GB, free: 20.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004148/1.228, allocations: 1.939 MB / 1.271 GB, free: 20.06 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/1.228, allocations: 1.219 kB / 1.271 GB, free: 20.06 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/1.229, allocations: 72.17 kB / 1.271 GB, free: 20.06 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/1.229, allocations: 41.81 kB / 1.272 GB, free: 20.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004299/1.233, allocations: 2.096 MB / 1.274 GB, free: 20.04 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.01295/1.246, allocations: 6.079 MB / 1.279 GB, free: 17.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/1.25, allocations: 2.087 MB / 1.282 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/1.251, allocations: 0.7601 MB / 1.282 GB, free: 17.31 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/1.251, allocations: 430.3 kB / 1.283 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001795/1.253, allocations: 1.01 MB / 1.284 GB, free: 16.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 4.108e-06/1.253, allocations: 1 kB / 1.284 GB, free: 16.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007313/1.261, allocations: 2.954 MB / 1.287 GB, free: 16.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.261, allocations: 197.4 kB / 1.287 GB, free: 15.95 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/1.263, allocations: 1.782 MB / 1.288 GB, free: 15.78 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002903/1.264, allocations: 63.83 kB / 1.289 GB, free: 15.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000683/1.264, allocations: 0.8325 MB / 1.289 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000388/1.265, allocations: 484.5 kB / 1.29 GB, free: 15.15 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/1.265, allocations: 253.3 kB / 1.29 GB, free: 15.13 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.265, allocations: 352 kB / 1.29 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/1.266, allocations: 0.5931 MB / 1.291 GB, free: 14.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/1.268, allocations: 0.7998 MB / 1.292 GB, free: 14.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/1.27, allocations: 1.335 MB / 1.293 GB, free: 14.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.27, allocations: 0 / 1.293 GB, free: 14.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00392/1.274, allocations: 1.814 MB / 1.295 GB, free: 14.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.274, allocations: 7.5 kB / 1.295 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.274, allocations: 1.219 kB / 1.295 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/1.275, allocations: 216.1 kB / 1.295 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/1.277, allocations: 332.8 kB / 1.295 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006218/1.283, allocations: 7.332 MB / 1.303 GB, free: 7.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/1.285, allocations: 174.9 kB / 1.303 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/1.285, allocations: 56.8 kB / 1.303 GB, free: 7.551 MB / 1.014 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.001147/1.286, allocations: 482.7 kB / 1.303 GB, free: 7.438 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/1.287, allocations: 186.5 kB / 1.303 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004139/1.291, allocations: 2.131 MB / 1.305 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.291, allocations: 16.09 kB / 1.305 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.291, allocations: 6.344 kB / 1.305 GB, free: 7.168 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/1.291, allocations: 6.234 kB / 1.305 GB, free: 7.168 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006612/1.297, allocations: 3.982 MB / 1.309 GB, free: 6.711 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/1.297, allocations: 0.8438 kB / 1.309 GB, free: 6.711 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/1.299, allocations: 316.2 kB / 1.31 GB, free: 6.711 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008497/1.3, allocations: 206.7 kB / 1.31 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.3, allocations: 39.36 kB / 1.31 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005821/1.306, allocations: 7.348 MB / 1.317 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.306, allocations: 7.109 kB / 1.317 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004467/1.31, allocations: 1.984 MB / 1.319 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.311, allocations: 477.8 kB / 1.319 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/1.312, allocations: 30.31 kB / 1.32 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.313, allocations: 136.6 kB / 1.32 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/1.313, allocations: 109.8 kB / 1.32 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.314, allocations: 69.88 kB / 1.32 GB, free: 15.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00157/1.315, allocations: 1.282 MB / 1.321 GB, free: 15.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.11e-07/1.315, allocations: 0 / 1.321 GB, free: 15.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002369/1.317, allocations: 0.69 MB / 1.322 GB, free: 15.14 MB / 1.029 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.001992/1.319, allocations: 0.7534 MB / 1.322 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005433/1.325, allocations: 2.513 MB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.325, allocations: 4.062 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/1.327, allocations: 1.418 MB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/1.33, allocations: 0.5443 MB / 1.327 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006659/1.336, allocations: 4.597 MB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.337, allocations: 1.527 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002183/1.34, allocations: 0.495 MB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/1.34, allocations: 175 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of SimCode: time 2.735e-06/1.34, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of Templates: time 0.0544/1.395, allocations: 31.73 MB / 1.364 GB, free: 12.47 MB / 1.045 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=480 -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/jenkins/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