Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",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.001109/0.001109, allocations: 108 kB / 15.61 MB, free: 152 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.00116/0.00116, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.49/2.49, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.5515, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1575/0.7091, allocations: 168.5 MB / 1.182 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02014/0.7292, allocations: 17.35 MB / 1.199 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.7306, allocations: 35.81 kB / 1.199 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.7322, allocations: 0.57 MB / 1.199 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004516/0.7367, allocations: 1.783 MB / 1.201 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.74, allocations: 1.423 MB / 1.203 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003077/0.7431, allocations: 2.879 MB / 1.205 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.7456, allocations: 1.94 MB / 1.207 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.7492, allocations: 1.429 MB / 1.209 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.7506, allocations: 1.12 MB / 1.21 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004263/0.7511, allocations: 220 kB / 1.21 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.7539, allocations: 1.529 MB / 1.212 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007116/0.7546, allocations: 0.7984 MB / 1.212 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.7558, allocations: 1.29 MB / 1.214 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003899/0.7597, allocations: 3.672 MB / 1.217 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7597, allocations: 0 / 1.217 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.076e-06/0.7597, allocations: 0 / 1.217 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.944e-05/0.7598, allocations: 3.938 kB / 1.217 GB, free: 5.203 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004411/0.7642, allocations: 2.936 MB / 1.22 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7642, allocations: 8.031 kB / 1.22 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002627/0.7645, allocations: 252.9 kB / 1.22 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003648/0.7682, allocations: 0.5706 MB / 1.221 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/0.7717, allocations: 3.402 MB / 1.224 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.033e-05/0.7718, allocations: 127.4 kB / 1.224 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.772, allocations: 168 kB / 1.224 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/0.775, allocations: 1.96 MB / 1.226 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.7751, allocations: 7.875 kB / 1.226 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.7753, allocations: 72 kB / 1.226 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.7753, allocations: 44 kB / 1.226 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003453/0.7787, allocations: 2.113 MB / 1.229 GB, free: 9.371 MB / 0.9825 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.008551/0.7873, allocations: 6.77 MB / 1.235 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.7905, allocations: 2.13 MB / 1.237 GB, free: 56 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.7918, allocations: 0.7725 MB / 1.238 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005359/0.7924, allocations: 429.5 kB / 1.238 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001658/0.794, allocations: 1.022 MB / 1.239 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.915e-06/0.7941, allocations: 0 / 1.239 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006683/0.8007, allocations: 3 MB / 1.242 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/0.8009, allocations: 197.2 kB / 1.242 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/0.8049, allocations: 4.106 MB / 1.246 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.8051, allocations: 61.7 kB / 1.247 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006581/0.8057, allocations: 0.8908 MB / 1.247 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.8061, allocations: 485 kB / 1.248 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003856/0.8065, allocations: 242.8 kB / 1.248 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.8066, allocations: 349.9 kB / 1.248 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.8077, allocations: 0.5843 MB / 1.249 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.8091, allocations: 0.8086 MB / 1.25 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.8115, allocations: 1.333 MB / 1.251 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8115, allocations: 0 / 1.251 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.4401/1.252, allocations: 1.794 MB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.252, allocations: 10.12 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.252, allocations: 1.75 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/1.253, allocations: 213.3 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/1.255, allocations: 333.4 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004899/1.26, allocations: 7.326 MB / 1.261 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/1.261, allocations: 163.6 kB / 1.261 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/1.262, allocations: 52.2 kB / 1.261 GB, free: 223.9 MB / 0.9981 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 (145): * Single equations (assignments): 140 * 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.00115/1.263, allocations: 494.2 kB / 1.261 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005488/1.263, allocations: 202 kB / 1.261 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/1.268, allocations: 2.159 MB / 1.264 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/1.268, allocations: 16.25 kB / 1.264 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.268, allocations: 3.016 kB / 1.264 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/1.268, allocations: 7.828 kB / 1.264 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008091/1.277, allocations: 4.14 MB / 1.268 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.277, allocations: 0.7188 kB / 1.268 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/1.278, allocations: 323.8 kB / 1.268 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009883/1.279, allocations: 195.9 kB / 1.268 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/1.279, allocations: 42.17 kB / 1.268 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005076/1.284, allocations: 7.368 MB / 1.275 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.285, allocations: 0.7188 kB / 1.275 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/1.289, allocations: 2.021 MB / 1.277 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008158/1.29, allocations: 0.5097 MB / 1.278 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/1.29, allocations: 32.91 kB / 1.278 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.292, allocations: 114.2 kB / 1.278 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003877/1.292, allocations: 116.4 kB / 1.278 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001998/1.292, allocations: 74.12 kB / 1.278 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00343/1.296, allocations: 3.143 MB / 1.281 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.296, allocations: 0 / 1.281 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001823/1.298, allocations: 0.6886 MB / 1.282 GB, free: 211.7 MB / 0.9981 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.005592/1.303, allocations: 3.239 MB / 1.285 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005148/1.308, allocations: 2.517 MB / 1.287 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.308, allocations: 0.5625 kB / 1.287 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/1.31, allocations: 1.426 MB / 1.289 GB, free: 208.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.312, allocations: 0.5616 MB / 1.289 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/1.336, allocations: 22.74 MB / 1.312 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/1.337, allocations: 1.537 MB / 1.313 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001831/1.338, allocations: 0.5251 MB / 1.314 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009271/1.339, allocations: 0.9053 MB / 1.315 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.339, allocations: 0 / 1.315 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07293/1.412, allocations: 49.13 MB / 1.363 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.69, allocations: 26.28 kB / 1.363 GB, free: 137.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches