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.006835/0.006835, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001417/0.001417, allocations: 194.4 kB / 16.67 MB, free: 5.938 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.56/2.56, allocations: 472.6 MB / 0.7453 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.89 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9059/0.9071, allocations: 159.9 MB / 1.226 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1934/1.101, allocations: 168.4 MB / 1.39 GB, free: 4.551 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02578/1.126, allocations: 17.34 MB / 1.407 GB, free: 3.16 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/1.128, allocations: 31.81 kB / 1.407 GB, free: 3.129 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002005/1.13, allocations: 0.5856 MB / 1.408 GB, free: 2.539 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006123/1.137, allocations: 1.782 MB / 1.409 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004435/1.141, allocations: 1.431 MB / 1.411 GB, free: 15.34 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004733/1.146, allocations: 2.87 MB / 1.414 GB, free: 12.46 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003615/1.149, allocations: 1.937 MB / 1.415 GB, free: 10.46 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004336/1.154, allocations: 1.423 MB / 1.417 GB, free: 9.078 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/1.156, allocations: 1.101 MB / 1.418 GB, free: 7.973 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006193/1.156, allocations: 220 kB / 1.418 GB, free: 7.758 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/1.16, allocations: 1.56 MB / 1.42 GB, free: 6.195 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009571/1.161, allocations: 0.7946 MB / 1.42 GB, free: 5.398 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002172/1.163, allocations: 1.213 MB / 1.422 GB, free: 4.18 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006668/1.17, allocations: 3.612 MB / 1.425 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.17, allocations: 3.938 kB / 1.425 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.803e-06/1.17, allocations: 0 / 1.425 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001207/1.17, allocations: 0 / 1.425 GB, free: 0.5508 MB / 1.139 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.006704/1.177, allocations: 2.83 MB / 1.428 GB, free: 13.65 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/1.177, allocations: 12.03 kB / 1.428 GB, free: 13.64 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004001/1.181, allocations: 0.5721 MB / 1.428 GB, free: 13.06 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003433/1.184, allocations: 1.644 MB / 1.43 GB, free: 11.37 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/1.185, allocations: 131.4 kB / 1.43 GB, free: 11.24 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004115/1.185, allocations: 164 kB / 1.43 GB, free: 11.08 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004655/1.19, allocations: 1.948 MB / 1.432 GB, free: 9.078 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/1.19, allocations: 0 / 1.432 GB, free: 9.078 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/1.19, allocations: 76 kB / 1.432 GB, free: 9.004 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/1.19, allocations: 40 kB / 1.432 GB, free: 8.965 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004108/1.194, allocations: 2.089 MB / 1.434 GB, free: 6.871 MB / 1.154 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.01115/1.205, allocations: 6.037 MB / 1.44 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/1.209, allocations: 2.091 MB / 1.442 GB, free: 14.33 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/1.21, allocations: 0.7569 MB / 1.443 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000717/1.211, allocations: 437.6 kB / 1.443 GB, free: 13.07 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002033/1.213, allocations: 1.007 MB / 1.444 GB, free: 12.04 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 7.914e-06/1.213, allocations: 4 kB / 1.444 GB, free: 12.04 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.007295/1.221, allocations: 2.962 MB / 1.447 GB, free: 8.961 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/1.221, allocations: 197.2 kB / 1.448 GB, free: 8.727 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002981/1.224, allocations: 1.784 MB / 1.449 GB, free: 6.93 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000188/1.224, allocations: 57.7 kB / 1.449 GB, free: 6.867 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008274/1.225, allocations: 0.8403 MB / 1.45 GB, free: 6.016 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005221/1.225, allocations: 0.4996 MB / 1.451 GB, free: 5.512 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005733/1.226, allocations: 258.7 kB / 1.451 GB, free: 5.25 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.226, allocations: 357.9 kB / 1.451 GB, free: 4.895 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/1.227, allocations: 0.5959 MB / 1.452 GB, free: 4.301 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/1.229, allocations: 0.8014 MB / 1.453 GB, free: 3.445 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/1.231, allocations: 1.329 MB / 1.454 GB, free: 2.109 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.231, allocations: 0 / 1.454 GB, free: 2.109 MB / 1.17 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004183/1.235, allocations: 1.823 MB / 1.456 GB, free: 268 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.235, allocations: 7.938 kB / 1.456 GB, free: 260 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.235, allocations: 0 / 1.456 GB, free: 260 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/1.237, allocations: 212.2 kB / 1.456 GB, free: 32 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/1.238, allocations: 331.5 kB / 1.456 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007297/1.245, allocations: 7.328 MB / 1.463 GB, free: 7.672 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/1.247, allocations: 170.5 kB / 1.464 GB, free: 7.508 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/1.247, allocations: 60.03 kB / 1.464 GB, free: 7.449 MB / 1.186 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.001192/1.249, allocations: 484.3 kB / 1.464 GB, free: 6.969 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006428/1.249, allocations: 186.8 kB / 1.464 GB, free: 6.785 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005098/1.254, allocations: 2.125 MB / 1.466 GB, free: 4.629 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/1.254, allocations: 20 kB / 1.466 GB, free: 4.609 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.254, allocations: 0 / 1.466 GB, free: 4.609 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/1.254, allocations: 7.969 kB / 1.466 GB, free: 4.602 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00764/1.262, allocations: 3.981 MB / 1.47 GB, free: 0.543 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/1.262, allocations: 0 / 1.47 GB, free: 0.543 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/1.263, allocations: 327.5 kB / 1.471 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008739/1.264, allocations: 200.1 kB / 1.471 GB, free: 12 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/1.265, allocations: 40.05 kB / 1.471 GB, free: 15.97 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006107/1.271, allocations: 7.354 MB / 1.478 GB, free: 7.906 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.271, allocations: 7.938 kB / 1.478 GB, free: 7.898 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004503/1.275, allocations: 1.993 MB / 1.48 GB, free: 5.871 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000966/1.276, allocations: 479.3 kB / 1.48 GB, free: 5.383 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/1.277, allocations: 28 kB / 1.48 GB, free: 5.355 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.278, allocations: 105.5 kB / 1.48 GB, free: 5.254 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/1.278, allocations: 117.2 kB / 1.481 GB, free: 5.137 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/1.278, allocations: 67.94 kB / 1.481 GB, free: 5.07 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001946/1.28, allocations: 1.281 MB / 1.482 GB, free: 3.793 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.5e-07/1.28, allocations: 0 / 1.482 GB, free: 3.793 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001919/1.282, allocations: 0.6859 MB / 1.483 GB, free: 3.105 MB / 1.201 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.001948/1.284, allocations: 0.7594 MB / 1.483 GB, free: 2.527 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00367/1.288, allocations: 2.082 MB / 1.485 GB, free: 388 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.288, allocations: 0.5625 kB / 1.485 GB, free: 388 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002183/1.29, allocations: 1.414 MB / 1.487 GB, free: 14.9 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/1.293, allocations: 0.5535 MB / 1.487 GB, free: 14.37 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007137/1.3, allocations: 3.763 MB / 1.491 GB, free: 10.56 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/1.302, allocations: 1.529 MB / 1.492 GB, free: 8.996 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001982/1.304, allocations: 0.493 MB / 1.493 GB, free: 8.496 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006324/1.304, allocations: 179.4 kB / 1.493 GB, free: 8.324 MB / 1.217 GB Notification: Performance of SimCode: time 8.52e-07/1.304, allocations: 0 / 1.493 GB, free: 8.324 MB / 1.217 GB Notification: Performance of Templates: time 0.05503/1.359, allocations: 32.14 MB / 1.524 GB, free: 8.504 MB / 1.248 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