Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 91.92 kB / 16.02 MB, free: 80 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.001857/0.001857, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003904, allocations: 12 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6984/0.6988, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1584/0.8572, allocations: 150.2 MB / 1.17 GB, free: 9.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01488/0.8721, allocations: 10.43 MB / 1.181 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.8734, allocations: 19.88 kB / 1.181 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.8746, allocations: 234.4 kB / 1.181 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00348/0.8781, allocations: 0.8205 MB / 1.182 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.8811, allocations: 0.9482 MB / 1.183 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002345/0.8835, allocations: 1.709 MB / 1.184 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001939/0.8854, allocations: 0.9825 MB / 1.185 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.8879, allocations: 0.5626 MB / 1.186 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.8889, allocations: 0.4897 MB / 1.186 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.8893, allocations: 32 kB / 1.186 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/0.8915, allocations: 0.9321 MB / 1.187 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.8918, allocations: 258.9 kB / 1.187 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007524/0.8926, allocations: 0.5608 MB / 1.188 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.8949, allocations: 1.594 MB / 1.189 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8949, allocations: 0 / 1.189 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8949, allocations: 0 / 1.189 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.315e-05/0.895, allocations: 0 / 1.189 GB, free: 5.457 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003313/0.8983, allocations: 1.458 MB / 1.191 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.8983, allocations: 8.031 kB / 1.191 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.9002, allocations: 278.1 kB / 1.191 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.9019, allocations: 0.8862 MB / 1.192 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.641e-05/0.902, allocations: 74 kB / 1.192 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.9022, allocations: 92 kB / 1.192 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.9046, allocations: 1.117 MB / 1.193 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.9047, allocations: 4 kB / 1.193 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.9048, allocations: 40 kB / 1.193 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.958e-05/0.9048, allocations: 28 kB / 1.193 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.9073, allocations: 1.339 MB / 1.195 GB, free: 8 kB / 0.9356 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.006035/0.9133, allocations: 3.458 MB / 1.198 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.9155, allocations: 1.121 MB / 1.199 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008339/0.9164, allocations: 433.1 kB / 1.2 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.9166, allocations: 142 kB / 1.2 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/0.9179, allocations: 0.6254 MB / 1.2 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 3.016e-06/0.9179, allocations: 3.938 kB / 1.2 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.004557/0.9225, allocations: 1.659 MB / 1.202 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.9226, allocations: 204.9 kB / 1.202 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.9239, allocations: 0.8019 MB / 1.203 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.924, allocations: 41.7 kB / 1.203 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004336/0.9244, allocations: 472.4 kB / 1.203 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.9248, allocations: 307.5 kB / 1.204 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.9249, allocations: 77.61 kB / 1.204 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.925, allocations: 345.9 kB / 1.204 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008253/0.9259, allocations: 361.8 kB / 1.204 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009986/0.9269, allocations: 489.6 kB / 1.205 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.9285, allocations: 0.8077 MB / 1.206 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.9285, allocations: 3.938 kB / 1.206 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00287/0.9314, allocations: 1.111 MB / 1.207 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.9315, allocations: 5.562 kB / 1.207 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9315, allocations: 0 / 1.207 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008021/0.9323, allocations: 113.7 kB / 1.207 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009529/0.9333, allocations: 215.7 kB / 1.207 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/0.9365, allocations: 2.863 MB / 1.21 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.9377, allocations: 127.4 kB / 1.21 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.9378, allocations: 39.97 kB / 1.21 GB, free: 15.57 MB / 0.9669 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007033/0.9385, allocations: 324.2 kB / 1.21 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.9388, allocations: 106.7 kB / 1.21 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.9422, allocations: 1.326 MB / 1.212 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.9422, allocations: 12 kB / 1.212 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.9422, allocations: 0 / 1.212 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.9422, allocations: 11.97 kB / 1.212 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004959/0.9472, allocations: 2.442 MB / 1.214 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.9472, allocations: 3.938 kB / 1.214 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009232/0.9482, allocations: 191.8 kB / 1.214 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008162/0.949, allocations: 117.6 kB / 1.214 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.9491, allocations: 27.97 kB / 1.214 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003213/0.9524, allocations: 2.88 MB / 1.217 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.9524, allocations: 4.031 kB / 1.217 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002898/0.9553, allocations: 1.258 MB / 1.219 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006462/0.956, allocations: 327.4 kB / 1.219 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.9562, allocations: 24 kB / 1.219 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009887/0.9572, allocations: 103.8 kB / 1.219 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.9574, allocations: 92.75 kB / 1.219 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.9575, allocations: 43.97 kB / 1.219 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008955/0.9584, allocations: 0.5693 MB / 1.22 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9584, allocations: 0 / 1.22 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00136/0.9598, allocations: 451.2 kB / 1.22 GB, free: 4.891 MB / 0.9669 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001938/0.9617, allocations: 0.7142 MB / 1.221 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002636/0.9644, allocations: 1.162 MB / 1.222 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.9644, allocations: 0 / 1.222 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.9659, allocations: 0.7488 MB / 1.223 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.9679, allocations: 327.4 kB / 1.223 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.9725, allocations: 2.555 MB / 1.225 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.9736, allocations: 1.104 MB / 1.227 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.974, allocations: 131.4 kB / 1.227 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of SimCode: time 3.276e-06/0.974, allocations: 0 / 1.227 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.04129/1.015, allocations: 27.23 MB / 1.253 GB, free: 3.055 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches