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.00165/0.001649, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 68.64 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2758, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1803/0.4561, allocations: 168.4 MB / 1.233 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6386/1.095, allocations: 17.34 MB / 1.25 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/1.096, allocations: 28.94 kB / 1.25 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/1.098, allocations: 0.569 MB / 1.25 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005124/1.103, allocations: 1.776 MB / 1.252 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004212/1.107, allocations: 1.43 MB / 1.253 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003899/1.111, allocations: 2.846 MB / 1.256 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/1.114, allocations: 1.949 MB / 1.258 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003797/1.117, allocations: 1.402 MB / 1.259 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/1.119, allocations: 1.115 MB / 1.26 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003446/1.12, allocations: 220.4 kB / 1.261 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0032/1.123, allocations: 1.522 MB / 1.262 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007473/1.124, allocations: 0.789 MB / 1.263 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001327/1.125, allocations: 1.222 MB / 1.264 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004885/1.13, allocations: 3.529 MB / 1.268 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.13, allocations: 3.281 kB / 1.268 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/1.13, allocations: 0 / 1.268 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.673e-05/1.13, allocations: 0.6094 kB / 1.268 GB, free: 5.41 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.005259/1.135, allocations: 2.744 MB / 1.27 GB, free: 20.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/1.135, allocations: 11.09 kB / 1.27 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003985/1.139, allocations: 0.5551 MB / 1.271 GB, free: 19.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/1.142, allocations: 1.593 MB / 1.272 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/1.142, allocations: 127.6 kB / 1.272 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/1.142, allocations: 169.5 kB / 1.273 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004034/1.146, allocations: 1.945 MB / 1.274 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/1.146, allocations: 0.5938 kB / 1.274 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/1.147, allocations: 75.88 kB / 1.275 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.89e-05/1.147, allocations: 41.22 kB / 1.275 GB, free: 19.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004052/1.151, allocations: 2.091 MB / 1.277 GB, free: 19.28 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.009469/1.16, allocations: 6.092 MB / 1.283 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/1.163, allocations: 2.097 MB / 1.285 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/1.165, allocations: 0.7598 MB / 1.285 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005606/1.165, allocations: 431.9 kB / 1.286 GB, free: 16.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001605/1.167, allocations: 1.001 MB / 1.287 GB, free: 16.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.066e-06/1.167, allocations: 4.094 kB / 1.287 GB, free: 16.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.006722/1.174, allocations: 2.954 MB / 1.29 GB, free: 15.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.174, allocations: 196.9 kB / 1.29 GB, free: 15.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/1.176, allocations: 1.782 MB / 1.292 GB, free: 15.01 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001698/1.176, allocations: 62.36 kB / 1.292 GB, free: 14.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005727/1.177, allocations: 0.833 MB / 1.292 GB, free: 14.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/1.177, allocations: 481.8 kB / 1.293 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/1.177, allocations: 252.7 kB / 1.293 GB, free: 14.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.178, allocations: 359.7 kB / 1.293 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/1.179, allocations: 0.6001 MB / 1.294 GB, free: 14.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/1.18, allocations: 0.7974 MB / 1.295 GB, free: 13.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/1.182, allocations: 1.33 MB / 1.296 GB, free: 13.85 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.182, allocations: 0 / 1.296 GB, free: 13.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003787/1.186, allocations: 1.813 MB / 1.298 GB, free: 13.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.186, allocations: 5.938 kB / 1.298 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.186, allocations: 1.281 kB / 1.298 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/1.187, allocations: 217 kB / 1.298 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/1.189, allocations: 331.1 kB / 1.298 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005555/1.194, allocations: 7.319 MB / 1.306 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.196, allocations: 156 kB / 1.306 GB, free: 6.777 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.196, allocations: 54.42 kB / 1.306 GB, free: 6.777 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.0009834/1.197, allocations: 487.2 kB / 1.306 GB, free: 6.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/1.197, allocations: 189.2 kB / 1.306 GB, free: 6.562 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/1.202, allocations: 2.125 MB / 1.309 GB, free: 6.395 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.202, allocations: 14.91 kB / 1.309 GB, free: 6.395 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.202, allocations: 7.156 kB / 1.309 GB, free: 6.391 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/1.202, allocations: 8.625 kB / 1.309 GB, free: 6.391 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006265/1.208, allocations: 3.988 MB / 1.312 GB, free: 5.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.208, allocations: 0 / 1.312 GB, free: 5.934 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/1.21, allocations: 317.9 kB / 1.313 GB, free: 5.934 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008688/1.21, allocations: 207.7 kB / 1.313 GB, free: 5.895 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.299e-05/1.21, allocations: 41.5 kB / 1.313 GB, free: 5.895 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005268/1.216, allocations: 7.344 MB / 1.32 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.216, allocations: 3.906 kB / 1.32 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/1.22, allocations: 1.989 MB / 1.322 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007699/1.221, allocations: 469.4 kB / 1.323 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/1.221, allocations: 36.67 kB / 1.323 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.222, allocations: 111.6 kB / 1.323 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/1.222, allocations: 106.9 kB / 1.323 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.222, allocations: 72.58 kB / 1.323 GB, free: 14.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001413/1.224, allocations: 1.281 MB / 1.324 GB, free: 14.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.224, allocations: 3.094 kB / 1.324 GB, free: 14.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0017/1.226, allocations: 0.6771 MB / 1.325 GB, free: 14.38 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.001633/1.227, allocations: 0.7495 MB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004913/1.232, allocations: 2.521 MB / 1.328 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.232, allocations: 0.5625 kB / 1.328 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001885/1.234, allocations: 1.415 MB / 1.329 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/1.236, allocations: 0.553 MB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005509/1.242, allocations: 3.749 MB / 1.334 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009843/1.243, allocations: 1.534 MB / 1.335 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001871/1.245, allocations: 0.506 MB / 1.336 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/1.245, allocations: 169.7 kB / 1.336 GB, free: 10.64 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/1.245, allocations: 0 / 1.336 GB, free: 10.64 MB / 1.029 GB Notification: Performance of Templates: time 0.05453/1.3, allocations: 31.85 MB / 1.367 GB, free: 10.06 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