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.007118/0.007118, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001723/0.001723, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.244/2.244, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8088/0.8101, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2081/1.018, allocations: 167.2 MB / 1.251 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02258/1.041, allocations: 17.19 MB / 1.268 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002782/1.044, allocations: 31.81 kB / 1.268 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002178/1.046, allocations: 0.5469 MB / 1.269 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006234/1.052, allocations: 1.715 MB / 1.27 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004055/1.056, allocations: 1.432 MB / 1.272 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00372/1.06, allocations: 2.665 MB / 1.274 GB, free: 14.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/1.062, allocations: 2.006 MB / 1.276 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/1.066, allocations: 1.422 MB / 1.278 GB, free: 11.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/1.067, allocations: 1.089 MB / 1.279 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004705/1.068, allocations: 220 kB / 1.279 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/1.071, allocations: 1.552 MB / 1.28 GB, free: 8.617 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007177/1.071, allocations: 0.7907 MB / 1.281 GB, free: 7.824 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001172/1.073, allocations: 1.174 MB / 1.282 GB, free: 6.645 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004572/1.077, allocations: 3.524 MB / 1.286 GB, free: 3.109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.077, allocations: 8 kB / 1.286 GB, free: 3.102 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/1.077, allocations: 3.938 kB / 1.286 GB, free: 3.098 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.516e-05/1.077, allocations: 0 / 1.286 GB, free: 3.098 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.004912/1.082, allocations: 2.725 MB / 1.288 GB, free: 312 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.082, allocations: 8.031 kB / 1.288 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00366/1.086, allocations: 0.5512 MB / 1.289 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/1.089, allocations: 1.631 MB / 1.291 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-05/1.089, allocations: 123.4 kB / 1.291 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/1.089, allocations: 172 kB / 1.291 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003317/1.092, allocations: 1.949 MB / 1.293 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/1.092, allocations: 0 / 1.293 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/1.093, allocations: 76 kB / 1.293 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/1.093, allocations: 40 kB / 1.293 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003534/1.096, allocations: 2.089 MB / 1.295 GB, free: 9.562 MB / 1.029 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.008931/1.105, allocations: 5.645 MB / 1.3 GB, free: 3.656 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00333/1.108, allocations: 2.097 MB / 1.302 GB, free: 1.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/1.11, allocations: 0.7574 MB / 1.303 GB, free: 0.7188 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006838/1.11, allocations: 433.6 kB / 1.304 GB, free: 228 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001709/1.112, allocations: 1.02 MB / 1.305 GB, free: 15.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.607e-06/1.112, allocations: 0 / 1.305 GB, free: 15.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.006936/1.119, allocations: 2.95 MB / 1.307 GB, free: 12.11 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.119, allocations: 201.2 kB / 1.308 GB, free: 11.88 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/1.122, allocations: 1.78 MB / 1.309 GB, free: 10.08 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002322/1.122, allocations: 57.7 kB / 1.309 GB, free: 10.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008486/1.123, allocations: 0.8349 MB / 1.31 GB, free: 9.172 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005112/1.124, allocations: 480.9 kB / 1.311 GB, free: 8.699 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004722/1.124, allocations: 254.8 kB / 1.311 GB, free: 8.441 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.124, allocations: 361.9 kB / 1.311 GB, free: 8.082 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/1.125, allocations: 0.5921 MB / 1.312 GB, free: 7.492 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/1.127, allocations: 0.7935 MB / 1.313 GB, free: 6.645 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/1.129, allocations: 1.337 MB / 1.314 GB, free: 5.301 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.129, allocations: 0 / 1.314 GB, free: 5.301 MB / 1.045 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004136/1.133, allocations: 1.799 MB / 1.316 GB, free: 3.477 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/1.133, allocations: 16.03 kB / 1.316 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.133, allocations: 3.938 kB / 1.316 GB, free: 3.457 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/1.134, allocations: 216.1 kB / 1.316 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/1.136, allocations: 335.5 kB / 1.316 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006289/1.142, allocations: 7.304 MB / 1.323 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/1.144, allocations: 158.8 kB / 1.324 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/1.144, allocations: 55.95 kB / 1.324 GB, free: 10.68 MB / 1.061 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.0009976/1.145, allocations: 491.2 kB / 1.324 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/1.145, allocations: 181.8 kB / 1.324 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/1.15, allocations: 2.132 MB / 1.326 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/1.15, allocations: 16 kB / 1.326 GB, free: 7.832 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.15, allocations: 0 / 1.326 GB, free: 7.832 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/1.15, allocations: 7.969 kB / 1.326 GB, free: 7.824 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006419/1.156, allocations: 3.988 MB / 1.33 GB, free: 3.758 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.156, allocations: 0 / 1.33 GB, free: 3.758 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/1.158, allocations: 311.5 kB / 1.331 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008674/1.159, allocations: 212.1 kB / 1.331 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/1.159, allocations: 39.97 kB / 1.331 GB, free: 3.191 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005724/1.164, allocations: 7.34 MB / 1.338 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.164, allocations: 3.938 kB / 1.338 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/1.169, allocations: 1.996 MB / 1.34 GB, free: 9.105 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007989/1.169, allocations: 466.3 kB / 1.34 GB, free: 8.629 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/1.17, allocations: 32 kB / 1.34 GB, free: 8.598 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.171, allocations: 107.7 kB / 1.34 GB, free: 8.496 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/1.171, allocations: 109.2 kB / 1.341 GB, free: 8.387 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.171, allocations: 75.89 kB / 1.341 GB, free: 8.312 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001694/1.173, allocations: 1.281 MB / 1.342 GB, free: 7.035 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.9e-07/1.173, allocations: 0 / 1.342 GB, free: 7.035 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001778/1.175, allocations: 0.6585 MB / 1.343 GB, free: 6.375 MB / 1.076 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.001703/1.176, allocations: 0.7559 MB / 1.343 GB, free: 5.805 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00352/1.18, allocations: 2.078 MB / 1.345 GB, free: 3.66 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.18, allocations: 4.562 kB / 1.345 GB, free: 3.656 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/1.182, allocations: 1.422 MB / 1.347 GB, free: 2.172 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/1.184, allocations: 0.512 MB / 1.347 GB, free: 1.676 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007171/1.191, allocations: 3.818 MB / 1.351 GB, free: 13.83 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/1.192, allocations: 1.525 MB / 1.352 GB, free: 12.27 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001678/1.194, allocations: 0.4967 MB / 1.353 GB, free: 11.77 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004721/1.195, allocations: 175.3 kB / 1.353 GB, free: 11.6 MB / 1.092 GB Notification: Performance of SimCode: time 4.41e-07/1.195, allocations: 0 / 1.353 GB, free: 11.6 MB / 1.092 GB Notification: Performance of Templates: time 0.05257/1.247, allocations: 31.31 MB / 1.384 GB, free: 12.63 MB / 1.123 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