Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005129/0.005129, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001506/0.001506, allocations: 187.5 kB / 16.67 MB, free: 5.465 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.818/2.818, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2699, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.6798/0.9497, allocations: 168.4 MB / 1.385 GB, free: 1.809 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02165/0.9714, allocations: 17.34 MB / 1.402 GB, free: 3.801 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.9725, allocations: 36.03 kB / 1.402 GB, free: 3.785 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.974, allocations: 0.5592 MB / 1.402 GB, free: 3.309 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.9782, allocations: 1.782 MB / 1.404 GB, free: 1.973 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.9815, allocations: 1.45 MB / 1.405 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002952/0.9845, allocations: 2.863 MB / 1.408 GB, free: 15.17 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.9868, allocations: 1.947 MB / 1.41 GB, free: 13.88 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.9904, allocations: 1.416 MB / 1.411 GB, free: 13.1 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.9917, allocations: 1.109 MB / 1.412 GB, free: 12.36 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003214/0.9921, allocations: 225.3 kB / 1.413 GB, free: 12.36 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.9949, allocations: 1.553 MB / 1.414 GB, free: 11.62 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006701/0.9956, allocations: 0.7935 MB / 1.415 GB, free: 11.06 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.9967, allocations: 1.277 MB / 1.416 GB, free: 10.16 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004023/1.001, allocations: 3.743 MB / 1.42 GB, free: 7.582 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.001, allocations: 2.75 kB / 1.42 GB, free: 7.582 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.533e-06/1.001, allocations: 0 / 1.42 GB, free: 7.582 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.637e-05/1.001, allocations: 0 / 1.42 GB, free: 7.582 MB / 1.107 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.004483/1.005, allocations: 2.993 MB / 1.423 GB, free: 5.363 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/1.005, allocations: 7.781 kB / 1.423 GB, free: 5.363 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002824/1.006, allocations: 248.6 kB / 1.423 GB, free: 5.168 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/1.009, allocations: 0.5837 MB / 1.424 GB, free: 4.887 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004044/1.013, allocations: 3.449 MB / 1.427 GB, free: 1.656 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/1.013, allocations: 127.4 kB / 1.427 GB, free: 1.531 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/1.014, allocations: 176 kB / 1.427 GB, free: 1.359 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003385/1.017, allocations: 1.941 MB / 1.429 GB, free: 15.37 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/1.017, allocations: 0 / 1.429 GB, free: 15.37 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/1.017, allocations: 72 kB / 1.429 GB, free: 15.3 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/1.017, allocations: 44 kB / 1.429 GB, free: 15.25 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00376/1.021, allocations: 2.093 MB / 1.431 GB, free: 13.16 MB / 1.123 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.009014/1.03, allocations: 6.553 MB / 1.438 GB, free: 6.262 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/1.034, allocations: 2.097 MB / 1.44 GB, free: 4.09 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/1.035, allocations: 0.7574 MB / 1.44 GB, free: 3.328 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006153/1.036, allocations: 441.6 kB / 1.441 GB, free: 2.824 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001805/1.037, allocations: 1.001 MB / 1.442 GB, free: 1.801 MB / 1.123 GB Notification: Performance of pre-optimization done (n=146): time 2.806e-06/1.038, allocations: 0 / 1.442 GB, free: 1.801 MB / 1.123 GB Notification: Performance of matching and sorting (n=146): time 0.007004/1.045, allocations: 2.966 MB / 1.445 GB, free: 14.72 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.045, allocations: 213.2 kB / 1.445 GB, free: 14.47 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/1.049, allocations: 4.052 MB / 1.449 GB, free: 10.41 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/1.049, allocations: 57.7 kB / 1.449 GB, free: 10.35 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008088/1.05, allocations: 0.8997 MB / 1.45 GB, free: 9.441 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/1.051, allocations: 0.4918 MB / 1.45 GB, free: 8.945 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004204/1.051, allocations: 239.5 kB / 1.451 GB, free: 8.703 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.051, allocations: 357.9 kB / 1.451 GB, free: 8.348 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/1.053, allocations: 0.5726 MB / 1.451 GB, free: 7.777 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/1.054, allocations: 0.7891 MB / 1.452 GB, free: 6.922 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/1.056, allocations: 1.314 MB / 1.454 GB, free: 5.598 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.057, allocations: 0 / 1.454 GB, free: 5.598 MB / 1.139 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003988/1.061, allocations: 1.777 MB / 1.455 GB, free: 3.797 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.061, allocations: 8.094 kB / 1.455 GB, free: 3.789 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.061, allocations: 4 kB / 1.455 GB, free: 3.785 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/1.062, allocations: 212.1 kB / 1.455 GB, free: 3.562 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/1.063, allocations: 323.6 kB / 1.456 GB, free: 3.246 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006648/1.07, allocations: 7.325 MB / 1.463 GB, free: 11.21 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.071, allocations: 159.2 kB / 1.463 GB, free: 11.06 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/1.071, allocations: 55.97 kB / 1.463 GB, free: 11 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (144): * Single equations (assignments): 139 * 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.0007895/1.072, allocations: 493.3 kB / 1.464 GB, free: 10.51 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/1.072, allocations: 198.7 kB / 1.464 GB, free: 10.32 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004754/1.077, allocations: 2.145 MB / 1.466 GB, free: 8.145 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/1.077, allocations: 16 kB / 1.466 GB, free: 8.129 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.077, allocations: 0 / 1.466 GB, free: 8.129 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/1.077, allocations: 7.969 kB / 1.466 GB, free: 8.121 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00697/1.084, allocations: 4.108 MB / 1.47 GB, free: 3.938 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.084, allocations: 0 / 1.47 GB, free: 3.938 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/1.086, allocations: 319.5 kB / 1.47 GB, free: 3.625 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009339/1.087, allocations: 208.1 kB / 1.47 GB, free: 3.406 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/1.087, allocations: 39.97 kB / 1.47 GB, free: 3.367 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00649/1.093, allocations: 7.344 MB / 1.478 GB, free: 11.31 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.093, allocations: 7.984 kB / 1.478 GB, free: 11.3 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004165/1.097, allocations: 2.01 MB / 1.48 GB, free: 9.258 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007706/1.098, allocations: 0.5187 MB / 1.48 GB, free: 8.719 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/1.099, allocations: 35.98 kB / 1.48 GB, free: 8.684 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.1, allocations: 97.59 kB / 1.48 GB, free: 8.59 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/1.1, allocations: 113.2 kB / 1.48 GB, free: 8.477 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/1.1, allocations: 75.94 kB / 1.48 GB, free: 8.402 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003461/1.104, allocations: 3.112 MB / 1.483 GB, free: 5.297 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.31e-07/1.104, allocations: 0 / 1.483 GB, free: 5.297 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001617/1.105, allocations: 0.6975 MB / 1.484 GB, free: 4.598 MB / 1.17 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.006602/1.112, allocations: 3.22 MB / 1.487 GB, free: 1.527 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003462/1.115, allocations: 2.059 MB / 1.489 GB, free: 15.41 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.115, allocations: 4.562 kB / 1.489 GB, free: 15.4 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/1.118, allocations: 1.418 MB / 1.491 GB, free: 13.92 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.12, allocations: 0.5591 MB / 1.491 GB, free: 13.38 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0299/1.15, allocations: 20.83 MB / 1.512 GB, free: 8.312 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/1.151, allocations: 1.533 MB / 1.513 GB, free: 6.746 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001663/1.153, allocations: 0.5212 MB / 1.514 GB, free: 6.219 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1.154, allocations: 0.9053 MB / 1.514 GB, free: 5.312 MB / 1.201 GB Notification: Performance of SimCode: time 4.2e-07/1.154, allocations: 0 / 1.514 GB, free: 5.312 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/1.256, allocations: 48.93 MB / 1.562 GB, free: 4.867 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/16.5, allocations: 9.797 kB / 1.562 GB, free: 4.859 MB / 1.248 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable weaDat.weaBus.winDir in file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.csv. Warning: Get data of variable weaDat.weaBus.winDir from file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.csv failed! Error: Could not read variable north.pWin in file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.csv. Warning: Get data of variable north.pWin from file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.csv failed! Error: Could not read variable west.pWin in file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.csv. Warning: Get data of variable west.pWin from file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.csv failed! Error: Could not read variable south.pWin in file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.csv. Warning: Get data of variable south.pWin from file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.csv failed! " Variables in the reference:time,weaDat.weaBus.winDir,north.pWin,west.pWin,east.pWin,south.pWin Variables in the result:time,east.CpAct,east.alpha,east.pWin,north.CpAct,north.alpha