Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.344/2.344, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 198.1 kB / 0.4902 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.2 MB / 0.7992 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009783/0.000978, allocations: 103.7 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004268, allocations: 10.28 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3797, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.688/5.067, allocations: 1.939 GB / 3.168 GB, free: 41.75 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/5.068, allocations: 92.52 kB / 3.168 GB, free: 41.66 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.16/6.228, allocations: 153 MB / 3.318 GB, free: 360.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.929e-06/6.228, allocations: 0 / 3.318 GB, free: 360.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002486/6.228, allocations: 31.94 kB / 3.318 GB, free: 360.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.005973/6.234, allocations: 1.506 MB / 3.319 GB, free: 359.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 8.718e-05/6.234, allocations: 12.56 kB / 3.319 GB, free: 359.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/6.237, allocations: 266.1 kB / 3.319 GB, free: 358.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/6.239, allocations: 0.8199 MB / 3.32 GB, free: 358 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.4e-05/6.239, allocations: 70.52 kB / 3.32 GB, free: 357.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/6.24, allocations: 92 kB / 3.32 GB, free: 357.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/6.242, allocations: 1.039 MB / 3.321 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/6.242, allocations: 3.938 kB / 3.321 GB, free: 356.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-05/6.242, allocations: 44 kB / 3.321 GB, free: 356.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/6.242, allocations: 20 kB / 3.321 GB, free: 356.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/6.244, allocations: 1.276 MB / 3.323 GB, free: 355.4 MB / 1.167 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.00489/6.249, allocations: 3.144 MB / 3.326 GB, free: 352.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/6.25, allocations: 1.023 MB / 3.327 GB, free: 351.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/6.25, allocations: 134.1 kB / 3.327 GB, free: 351 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008702/6.251, allocations: 0.5513 MB / 3.327 GB, free: 350.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=86): time 3.085e-06/6.251, allocations: 0 / 3.327 GB, free: 350.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=86): time 0.003715/6.255, allocations: 1.54 MB / 3.329 GB, free: 348.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/6.255, allocations: 248.3 kB / 3.329 GB, free: 348.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/6.256, allocations: 0.8049 MB / 3.33 GB, free: 347.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.442e-05/6.256, allocations: 41.7 kB / 3.33 GB, free: 347.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/6.257, allocations: 444.4 kB / 3.33 GB, free: 347.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/6.257, allocations: 291.8 kB / 3.331 GB, free: 346.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/6.257, allocations: 16 kB / 3.331 GB, free: 346.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/6.257, allocations: 341.9 kB / 3.331 GB, free: 346.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005322/6.257, allocations: 301.8 kB / 3.331 GB, free: 346.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/6.258, allocations: 445.9 kB / 3.332 GB, free: 345.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/6.259, allocations: 362.9 kB / 3.332 GB, free: 345.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/6.259, allocations: 0 / 3.332 GB, free: 345.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002099/6.261, allocations: 0.9703 MB / 3.333 GB, free: 344.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/6.261, allocations: 7.953 kB / 3.333 GB, free: 344.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/6.261, allocations: 0 / 3.333 GB, free: 344.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007531/6.262, allocations: 113.7 kB / 3.333 GB, free: 344.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/6.262, allocations: 183.8 kB / 3.333 GB, free: 344.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/6.265, allocations: 2.875 MB / 3.336 GB, free: 341 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009035/6.266, allocations: 111.4 kB / 3.336 GB, free: 340.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.732e-05/6.266, allocations: 35.92 kB / 3.336 GB, free: 340.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000594/6.266, allocations: 289.7 kB / 3.336 GB, free: 340.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/6.267, allocations: 98.83 kB / 3.337 GB, free: 340.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/6.269, allocations: 1.259 MB / 3.338 GB, free: 339.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/6.269, allocations: 8 kB / 3.338 GB, free: 339.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/6.269, allocations: 0 / 3.338 GB, free: 339.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/6.269, allocations: 11.94 kB / 3.338 GB, free: 339.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003637/6.273, allocations: 2.345 MB / 3.34 GB, free: 336.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/6.273, allocations: 4 kB / 3.34 GB, free: 336.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007768/6.274, allocations: 199.7 kB / 3.34 GB, free: 336.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006101/6.274, allocations: 113.6 kB / 3.34 GB, free: 336.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/6.274, allocations: 23.98 kB / 3.34 GB, free: 336.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/6.276, allocations: 2.895 MB / 3.343 GB, free: 333.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/6.276, allocations: 8.484 kB / 3.343 GB, free: 333.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/6.279, allocations: 1.153 MB / 3.344 GB, free: 332.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/6.279, allocations: 347.4 kB / 3.345 GB, free: 331.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/6.279, allocations: 20 kB / 3.345 GB, free: 331.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007476/6.28, allocations: 83.94 kB / 3.345 GB, free: 331.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/6.28, allocations: 80.81 kB / 3.345 GB, free: 331.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/6.28, allocations: 44.03 kB / 3.345 GB, free: 331.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007324/6.281, allocations: 0.6552 MB / 3.346 GB, free: 330.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/6.281, allocations: 3.938 kB / 3.346 GB, free: 330.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001586/6.283, allocations: 0.5185 MB / 3.346 GB, free: 330.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002341/6.285, allocations: 1.376 MB / 3.347 GB, free: 329.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001808/6.287, allocations: 1.033 MB / 3.348 GB, free: 328.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/6.287, allocations: 0 / 3.348 GB, free: 328.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009963/6.288, allocations: 0.6942 MB / 3.349 GB, free: 327.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/6.289, allocations: 294.9 kB / 3.349 GB, free: 327.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/6.293, allocations: 2.516 MB / 3.352 GB, free: 324.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/6.294, allocations: 1.106 MB / 3.353 GB, free: 323.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001136/6.295, allocations: 323.1 kB / 3.353 GB, free: 323.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/6.295, allocations: 115.4 kB / 3.353 GB, free: 323 MB / 1.167 GB Notification: Performance of SimCode: time 1.222e-06/6.295, allocations: 0 / 3.353 GB, free: 323 MB / 1.167 GB Notification: Performance of Templates: time 0.04101/6.336, allocations: 27.82 MB / 3.381 GB, free: 295.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches