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.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: "" <> 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.0007907/0.0007907, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00453/0.00453, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.312 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.474/2.474, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 12 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.5365, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1544/0.6909, allocations: 163.9 MB / 1.183 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.7098, allocations: 17.18 MB / 1.2 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.711, allocations: 27.81 kB / 1.2 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.7122, allocations: 489 kB / 1.2 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.7159, allocations: 1.594 MB / 1.202 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.7186, allocations: 1.281 MB / 1.203 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002761/0.7214, allocations: 3.12 MB / 1.206 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.7233, allocations: 1.66 MB / 1.208 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.7275, allocations: 1.108 MB / 1.209 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000992/0.7285, allocations: 0.9075 MB / 1.21 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.7287, allocations: 52 kB / 1.21 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.7312, allocations: 1.513 MB / 1.211 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004827/0.7317, allocations: 0.6071 MB / 1.212 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009066/0.7326, allocations: 1.069 MB / 1.213 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/0.7358, allocations: 3.542 MB / 1.217 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7358, allocations: 0 / 1.217 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7358, allocations: 4 kB / 1.217 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.188e-05/0.7359, allocations: 0 / 1.217 GB, free: 9.062 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.003911/0.7398, allocations: 2.459 MB / 1.219 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.7398, allocations: 8.031 kB / 1.219 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002697/0.7401, allocations: 260.9 kB / 1.219 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003466/0.7436, allocations: 0.5784 MB / 1.22 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003339/0.7469, allocations: 3.39 MB / 1.223 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.142e-05/0.747, allocations: 131.4 kB / 1.223 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.7473, allocations: 168 kB / 1.223 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/0.7504, allocations: 1.972 MB / 1.225 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.7504, allocations: 0 / 1.225 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.7506, allocations: 72 kB / 1.225 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.7506, allocations: 40 kB / 1.225 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003435/0.7541, allocations: 2.144 MB / 1.227 GB, free: 13.67 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.008327/0.7624, allocations: 6.782 MB / 1.234 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003265/0.7657, allocations: 2.144 MB / 1.236 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.767, allocations: 0.7881 MB / 1.237 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005099/0.7675, allocations: 425.6 kB / 1.237 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001673/0.7692, allocations: 1.032 MB / 1.238 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 2.745e-06/0.7692, allocations: 0 / 1.238 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006567/0.7758, allocations: 3.032 MB / 1.241 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.7759, allocations: 201.2 kB / 1.242 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004197/0.7801, allocations: 4.102 MB / 1.246 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.7802, allocations: 61.7 kB / 1.246 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006508/0.7809, allocations: 0.8946 MB / 1.246 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/0.7813, allocations: 481 kB / 1.247 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.7814, allocations: 101.7 kB / 1.247 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7815, allocations: 357.9 kB / 1.247 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.7827, allocations: 0.5921 MB / 1.248 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.7841, allocations: 0.821 MB / 1.249 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.7865, allocations: 1.353 MB / 1.25 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7865, allocations: 0 / 1.25 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00376/0.7903, allocations: 1.822 MB / 1.252 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.7903, allocations: 8 kB / 1.252 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.7903, allocations: 0 / 1.252 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.7914, allocations: 216.1 kB / 1.252 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.7929, allocations: 331.6 kB / 1.252 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4093/1.202, allocations: 6.821 MB / 1.259 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/1.204, allocations: 206.4 kB / 1.259 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/1.204, allocations: 49.75 kB / 1.259 GB, free: 223.8 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.001061/1.205, allocations: 490.3 kB / 1.26 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/1.206, allocations: 195.5 kB / 1.26 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/1.211, allocations: 2.186 MB / 1.262 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.211, allocations: 15.31 kB / 1.262 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.211, allocations: 3.047 kB / 1.262 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/1.211, allocations: 8.016 kB / 1.262 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007415/1.218, allocations: 4.159 MB / 1.266 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/1.218, allocations: 0.75 kB / 1.266 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/1.22, allocations: 328.1 kB / 1.266 GB, free: 222 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009608/1.221, allocations: 216 kB / 1.267 GB, free: 222 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/1.221, allocations: 40.28 kB / 1.267 GB, free: 221.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004035/1.225, allocations: 6.848 MB / 1.273 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.225, allocations: 4.406 kB / 1.273 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/1.23, allocations: 2.04 MB / 1.275 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/1.23, allocations: 0.5245 MB / 1.276 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/1.231, allocations: 33.36 kB / 1.276 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/1.232, allocations: 171 kB / 1.276 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/1.233, allocations: 113.8 kB / 1.276 GB, free: 214 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.233, allocations: 73.91 kB / 1.276 GB, free: 214 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003369/1.236, allocations: 3.144 MB / 1.279 GB, free: 213 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.236, allocations: 0 / 1.279 GB, free: 213 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001887/1.238, allocations: 0.6934 MB / 1.28 GB, free: 212.9 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.00572/1.244, allocations: 3.249 MB / 1.283 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003261/1.247, allocations: 2.096 MB / 1.285 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.247, allocations: 3.312 kB / 1.285 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/1.249, allocations: 1.441 MB / 1.287 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/1.251, allocations: 0.5069 MB / 1.287 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/1.279, allocations: 23.6 MB / 1.31 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/1.28, allocations: 1.537 MB / 1.312 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001912/1.282, allocations: 0.5289 MB / 1.312 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009739/1.283, allocations: 0.9092 MB / 1.313 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.283, allocations: 0 / 1.313 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.74/3.023, allocations: 46.64 MB / 1.359 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/3.023, allocations: 280.8 kB / 1.359 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/6.14, allocations: 0 / 1.359 GB, free: 141.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 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.mat","/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