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.001321/0.001321, allocations: 108 kB / 15.6 MB, free: 132 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.001443/0.001443, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.493/2.493, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 63.91 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5028, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1597/0.6626, allocations: 168.5 MB / 1.182 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0203/0.6829, allocations: 17.34 MB / 1.199 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.684, allocations: 31.81 kB / 1.199 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.6854, allocations: 0.5699 MB / 1.199 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.6894, allocations: 1.79 MB / 1.201 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.6922, allocations: 1.431 MB / 1.203 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002409/0.6946, allocations: 2.871 MB / 1.205 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.6967, allocations: 1.937 MB / 1.207 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.6997, allocations: 1.431 MB / 1.209 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.7008, allocations: 1.12 MB / 1.21 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002871/0.7011, allocations: 224 kB / 1.21 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.7035, allocations: 1.529 MB / 1.212 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006133/0.7042, allocations: 0.7946 MB / 1.212 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.7053, allocations: 1.29 MB / 1.214 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003572/0.7089, allocations: 3.668 MB / 1.217 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7089, allocations: 3.984 kB / 1.217 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7089, allocations: 0 / 1.217 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.299e-05/0.7089, allocations: 0 / 1.217 GB, free: 5.238 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.004392/0.7133, allocations: 2.938 MB / 1.22 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.7134, allocations: 12.03 kB / 1.22 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003231/0.7137, allocations: 252.8 kB / 1.22 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/0.7173, allocations: 0.5706 MB / 1.221 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003452/0.7207, allocations: 3.398 MB / 1.224 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.414e-05/0.7208, allocations: 127.4 kB / 1.224 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.7211, allocations: 168 kB / 1.224 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003012/0.7241, allocations: 1.964 MB / 1.226 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.7241, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.7243, allocations: 76 kB / 1.226 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.7243, allocations: 40 kB / 1.226 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/0.7277, allocations: 2.117 MB / 1.229 GB, free: 9.402 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.008355/0.7361, allocations: 6.77 MB / 1.235 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/0.7393, allocations: 2.133 MB / 1.237 GB, free: 84 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.7406, allocations: 0.7724 MB / 1.238 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005353/0.7411, allocations: 425.6 kB / 1.238 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001642/0.7428, allocations: 1.021 MB / 1.239 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.176e-06/0.7428, allocations: 0 / 1.239 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006507/0.7493, allocations: 3 MB / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.7494, allocations: 193.2 kB / 1.242 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004003/0.7534, allocations: 4.106 MB / 1.246 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.7535, allocations: 61.7 kB / 1.247 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006672/0.7542, allocations: 0.8947 MB / 1.247 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003804/0.7546, allocations: 488.9 kB / 1.248 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.755, allocations: 238.8 kB / 1.248 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7551, allocations: 353.9 kB / 1.248 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.7562, allocations: 0.5843 MB / 1.249 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.7575, allocations: 0.8125 MB / 1.25 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.7598, allocations: 1.333 MB / 1.251 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.7598, allocations: 0 / 1.251 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.386/1.146, allocations: 1.799 MB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.146, allocations: 5 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.146, allocations: 1.469 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/1.147, allocations: 210.5 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/1.149, allocations: 329.2 kB / 1.253 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004465/1.153, allocations: 7.324 MB / 1.261 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/1.155, allocations: 169.8 kB / 1.261 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/1.155, allocations: 49.14 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.0008593/1.156, allocations: 497.7 kB / 1.261 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/1.156, allocations: 194.4 kB / 1.261 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/1.161, allocations: 2.163 MB / 1.264 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/1.161, allocations: 16.27 kB / 1.264 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/1.161, allocations: 7.812 kB / 1.264 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/1.161, allocations: 7.641 kB / 1.264 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006906/1.168, allocations: 4.138 MB / 1.268 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.168, allocations: 0.9375 kB / 1.268 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/1.169, allocations: 322.9 kB / 1.268 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009602/1.17, allocations: 204.5 kB / 1.268 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/1.171, allocations: 41.39 kB / 1.268 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004632/1.175, allocations: 7.35 MB / 1.275 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.175, allocations: 3.219 kB / 1.275 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/1.18, allocations: 2.024 MB / 1.277 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008544/1.18, allocations: 0.5129 MB / 1.278 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/1.181, allocations: 39.22 kB / 1.278 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/1.182, allocations: 110.2 kB / 1.278 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/1.182, allocations: 115.8 kB / 1.278 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/1.182, allocations: 74.03 kB / 1.278 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003076/1.186, allocations: 3.145 MB / 1.281 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.11e-07/1.186, allocations: 0 / 1.281 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001787/1.187, allocations: 0.694 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.005526/1.193, allocations: 3.233 MB / 1.285 GB, free: 210.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004857/1.198, allocations: 2.518 MB / 1.287 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.198, allocations: 0.5625 kB / 1.287 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/1.199, allocations: 1.422 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.002183/1.202, allocations: 0.5574 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.02242/1.224, allocations: 22.75 MB / 1.312 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/1.225, allocations: 1.536 MB / 1.313 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001732/1.227, allocations: 0.5289 MB / 1.314 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008867/1.228, allocations: 0.9053 MB / 1.315 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/1.228, allocations: 4 kB / 1.315 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2307/1.458, allocations: 49.13 MB / 1.363 GB, free: 137.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/14, allocations: 15.78 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 & /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