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.001619/0.001619, allocations: 108 kB / 15.61 MB, free: 152 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.002072/0.002072, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 472.6 MB / 0.7452 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 64.16 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2784, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.187/0.4655, allocations: 168.4 MB / 1.233 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6142/1.08, allocations: 17.34 MB / 1.25 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/1.081, allocations: 31.78 kB / 1.25 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/1.083, allocations: 0.5697 MB / 1.25 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004554/1.087, allocations: 1.776 MB / 1.252 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/1.091, allocations: 1.425 MB / 1.253 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003766/1.095, allocations: 2.843 MB / 1.256 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/1.097, allocations: 1.939 MB / 1.258 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003958/1.101, allocations: 1.422 MB / 1.259 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/1.104, allocations: 1.115 MB / 1.26 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004068/1.104, allocations: 221.4 kB / 1.261 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/1.107, allocations: 1.523 MB / 1.262 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000846/1.108, allocations: 0.7872 MB / 1.263 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001528/1.11, allocations: 1.219 MB / 1.264 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005805/1.116, allocations: 3.528 MB / 1.268 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.116, allocations: 0.7031 kB / 1.268 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/1.116, allocations: 0.9062 kB / 1.268 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001001/1.116, allocations: 0 / 1.268 GB, free: 5.012 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.006221/1.122, allocations: 2.747 MB / 1.27 GB, free: 19.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.122, allocations: 9.219 kB / 1.27 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/1.126, allocations: 0.5557 MB / 1.271 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/1.129, allocations: 1.595 MB / 1.272 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/1.129, allocations: 130.5 kB / 1.272 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/1.129, allocations: 167.6 kB / 1.273 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003893/1.133, allocations: 1.944 MB / 1.275 GB, free: 18.9 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/1.133, allocations: 0 / 1.275 GB, free: 18.9 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/1.133, allocations: 75.78 kB / 1.275 GB, free: 18.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/1.134, allocations: 41.06 kB / 1.275 GB, free: 18.9 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00377/1.137, allocations: 2.088 MB / 1.277 GB, free: 18.88 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.009667/1.147, allocations: 6.097 MB / 1.283 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/1.15, allocations: 2.095 MB / 1.285 GB, free: 16.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/1.152, allocations: 0.7593 MB / 1.285 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006278/1.152, allocations: 430.5 kB / 1.286 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/1.154, allocations: 1.007 MB / 1.287 GB, free: 15.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.636e-06/1.154, allocations: 0 / 1.287 GB, free: 15.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007225/1.161, allocations: 2.958 MB / 1.29 GB, free: 15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/1.162, allocations: 195.9 kB / 1.29 GB, free: 14.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/1.164, allocations: 1.783 MB / 1.292 GB, free: 14.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003151/1.165, allocations: 63.62 kB / 1.292 GB, free: 14.58 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006784/1.165, allocations: 0.8355 MB / 1.293 GB, free: 14.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004793/1.166, allocations: 484.5 kB / 1.293 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004372/1.166, allocations: 254.1 kB / 1.293 GB, free: 13.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.166, allocations: 355.5 kB / 1.294 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/1.167, allocations: 0.5884 MB / 1.294 GB, free: 13.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/1.169, allocations: 0.8041 MB / 1.295 GB, free: 13.51 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002276/1.171, allocations: 1.329 MB / 1.296 GB, free: 13.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/1.171, allocations: 1.875 kB / 1.296 GB, free: 13.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004094/1.175, allocations: 1.812 MB / 1.298 GB, free: 13.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.175, allocations: 5.938 kB / 1.298 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.175, allocations: 1.312 kB / 1.298 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/1.176, allocations: 214.1 kB / 1.298 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/1.178, allocations: 335.8 kB / 1.299 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/1.184, allocations: 7.32 MB / 1.306 GB, free: 6.438 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/1.186, allocations: 153.4 kB / 1.306 GB, free: 6.387 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/1.186, allocations: 58.53 kB / 1.306 GB, free: 6.387 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.000973/1.187, allocations: 490 kB / 1.306 GB, free: 6.266 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/1.187, allocations: 188.5 kB / 1.307 GB, free: 6.168 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004345/1.191, allocations: 2.128 MB / 1.309 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.191, allocations: 14.91 kB / 1.309 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.191, allocations: 7.594 kB / 1.309 GB, free: 5.992 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.191, allocations: 8.344 kB / 1.309 GB, free: 5.992 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006245/1.198, allocations: 3.977 MB / 1.313 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.198, allocations: 0.5938 kB / 1.313 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.199, allocations: 315.5 kB / 1.313 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008639/1.2, allocations: 216 kB / 1.313 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-05/1.2, allocations: 40.03 kB / 1.313 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005666/1.206, allocations: 7.342 MB / 1.32 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.206, allocations: 0 / 1.32 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003999/1.21, allocations: 1.991 MB / 1.322 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000847/1.211, allocations: 472.1 kB / 1.323 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/1.211, allocations: 35 kB / 1.323 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.212, allocations: 108.7 kB / 1.323 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/1.213, allocations: 113.6 kB / 1.323 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/1.213, allocations: 70.08 kB / 1.323 GB, free: 14.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001477/1.214, allocations: 1.28 MB / 1.324 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/1.214, allocations: 0.9688 kB / 1.324 GB, free: 14.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001744/1.216, allocations: 0.6804 MB / 1.325 GB, free: 13.98 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.001685/1.218, allocations: 0.7475 MB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005035/1.223, allocations: 2.52 MB / 1.328 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.223, allocations: 2.469 kB / 1.328 GB, free: 13.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/1.225, allocations: 1.415 MB / 1.329 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/1.227, allocations: 0.5452 MB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006043/1.233, allocations: 3.756 MB / 1.334 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.234, allocations: 1.532 MB / 1.335 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002186/1.237, allocations: 499.1 kB / 1.336 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/1.237, allocations: 179 kB / 1.336 GB, free: 10.24 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/1.237, allocations: 0 / 1.336 GB, free: 10.24 MB / 1.029 GB Notification: Performance of Templates: time 0.05445/1.292, allocations: 31.85 MB / 1.367 GB, free: 9.59 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