Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_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.001557/0.001557, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002147/0.002147, allocations: 190.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.397/2.397, allocations: 222.9 MB / 239.9 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.33/4.33, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 65.64 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4029, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1666/0.5695, allocations: 166.1 MB / 1.215 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02001/0.5895, allocations: 17.18 MB / 1.231 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.591, allocations: 27.81 kB / 1.231 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.5927, allocations: 493 kB / 1.232 GB, free: 176 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004618/0.5973, allocations: 1.628 MB / 1.234 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.6005, allocations: 1.307 MB / 1.235 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003164/0.6037, allocations: 2.875 MB / 1.238 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002869/0.6066, allocations: 1.94 MB / 1.239 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005415/0.612, allocations: 1.433 MB / 1.241 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.6137, allocations: 1.163 MB / 1.242 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005536/0.6143, allocations: 224 kB / 1.242 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.6171, allocations: 1.56 MB / 1.244 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00088/0.618, allocations: 0.8062 MB / 1.245 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.6197, allocations: 1.286 MB / 1.246 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.8294/1.449, allocations: 3.73 MB / 1.249 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/1.449, allocations: 0 / 1.249 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.449, allocations: 0.7812 kB / 1.249 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001518/1.449, allocations: 0 / 1.249 GB, free: 11.52 MB / 0.9981 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.01179/1.461, allocations: 2.942 MB / 1.252 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.427e-05/1.461, allocations: 12.94 kB / 1.252 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009383/1.462, allocations: 249.8 kB / 1.253 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007977/1.47, allocations: 0.5726 MB / 1.253 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00869/1.479, allocations: 3.398 MB / 1.256 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/1.479, allocations: 135.5 kB / 1.257 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008221/1.48, allocations: 166 kB / 1.257 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009135/1.489, allocations: 1.962 MB / 1.259 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-05/1.489, allocations: 0 / 1.259 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006663/1.49, allocations: 73 kB / 1.259 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-05/1.49, allocations: 43.64 kB / 1.259 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007902/1.498, allocations: 2.117 MB / 1.261 GB, free: 9.305 MB / 0.9981 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.02377/1.522, allocations: 6.743 MB / 1.267 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008479/1.531, allocations: 2.13 MB / 1.27 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/1.534, allocations: 0.7743 MB / 1.27 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/1.535, allocations: 431.3 kB / 1.271 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004231/1.539, allocations: 1.021 MB / 1.272 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 1.353e-05/1.539, allocations: 0.875 kB / 1.272 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.0145/1.554, allocations: 3.003 MB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/1.554, allocations: 203.6 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01175/1.566, allocations: 4.099 MB / 1.279 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007434/1.567, allocations: 63.05 kB / 1.279 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001653/1.568, allocations: 0.8915 MB / 1.28 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.569, allocations: 487 kB / 1.28 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/1.571, allocations: 239.6 kB / 1.28 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.571, allocations: 352.6 kB / 1.281 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/1.574, allocations: 0.5816 MB / 1.281 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/1.577, allocations: 0.8157 MB / 1.282 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005012/1.582, allocations: 1.33 MB / 1.283 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.499e-05/1.582, allocations: 2.719 kB / 1.283 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.008702/1.591, allocations: 1.8 MB / 1.285 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/1.591, allocations: 6.094 kB / 1.285 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/1.591, allocations: 0.7188 kB / 1.285 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001929/1.593, allocations: 211.8 kB / 1.285 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003214/1.596, allocations: 338.3 kB / 1.286 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/1.606, allocations: 7.331 MB / 1.293 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/1.61, allocations: 188.1 kB / 1.293 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006313/1.611, allocations: 52.33 kB / 1.293 GB, free: 12.83 MB / 1.014 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.002757/1.614, allocations: 490.1 kB / 1.294 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01785/1.632, allocations: 199.2 kB / 1.294 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009859/1.641, allocations: 2.166 MB / 1.296 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/1.642, allocations: 14.78 kB / 1.296 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.74e-05/1.642, allocations: 2.469 kB / 1.296 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.87e-05/1.642, allocations: 8.516 kB / 1.296 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03291/1.675, allocations: 4.138 MB / 1.3 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/1.675, allocations: 0 / 1.3 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002903/1.678, allocations: 318 kB / 1.3 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/1.679, allocations: 202 kB / 1.3 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003581/1.68, allocations: 45.08 kB / 1.3 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/1.695, allocations: 7.356 MB / 1.308 GB, free: 5.184 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.695, allocations: 3.906 kB / 1.308 GB, free: 5.184 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/1.708, allocations: 2.027 MB / 1.31 GB, free: 4.863 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006396/1.714, allocations: 0.514 MB / 1.31 GB, free: 4.648 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.715, allocations: 30.31 kB / 1.31 GB, free: 4.648 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003792/1.719, allocations: 148.6 kB / 1.31 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000561/1.72, allocations: 108.9 kB / 1.31 GB, free: 4.637 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004089/1.72, allocations: 72.91 kB / 1.31 GB, free: 4.637 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.01078/1.731, allocations: 3.153 MB / 1.314 GB, free: 4.527 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.282e-06/1.731, allocations: 0 / 1.314 GB, free: 4.527 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004821/1.736, allocations: 0.6964 MB / 1.314 GB, free: 4.422 MB / 1.014 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.01655/1.753, allocations: 3.229 MB / 1.317 GB, free: 3.469 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01079/1.763, allocations: 2.508 MB / 1.32 GB, free: 2.867 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.763, allocations: 3.75 kB / 1.32 GB, free: 2.867 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0037/1.767, allocations: 1.425 MB / 1.321 GB, free: 2.309 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007819/1.775, allocations: 0.5583 MB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09587/1.871, allocations: 23.54 MB / 1.345 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/1.873, allocations: 1.542 MB / 1.346 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.008958/1.882, allocations: 0.5209 MB / 1.347 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002746/1.885, allocations: 0.9069 MB / 1.348 GB, free: 11.03 MB / 1.029 GB Notification: Performance of SimCode: time 2.174e-06/1.885, allocations: 3.938 kB / 1.348 GB, free: 11.03 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4694/2.354, allocations: 48.83 MB / 1.395 GB, free: 1.879 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000421/2.355, allocations: 296.1 kB / 1.396 GB, free: 1.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/10.71, allocations: 8 kB / 1.396 GB, free: 1.488 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches