Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_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.005186/0.005186, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001314/0.001314, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.06 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.229, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1597/0.3888, allocations: 167.2 MB / 1.251 GB, free: 10.11 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.5125/0.9013, allocations: 17.19 MB / 1.268 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009739/0.9024, allocations: 33.28 kB / 1.268 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.9036, allocations: 0.5309 MB / 1.268 GB, free: 3.125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.9074, allocations: 1.692 MB / 1.27 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.9104, allocations: 1.423 MB / 1.271 GB, free: 3.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002576/0.913, allocations: 2.689 MB / 1.274 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/0.9153, allocations: 1.998 MB / 1.276 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.9187, allocations: 1.399 MB / 1.277 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.9201, allocations: 1.083 MB / 1.278 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003174/0.9205, allocations: 227.2 kB / 1.278 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.9232, allocations: 1.563 MB / 1.28 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000675/0.9239, allocations: 0.8009 MB / 1.281 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.9251, allocations: 1.246 MB / 1.282 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004053/0.9292, allocations: 3.668 MB / 1.285 GB, free: 2.086 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.9292, allocations: 1.062 kB / 1.285 GB, free: 2.086 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9292, allocations: 1.125 kB / 1.285 GB, free: 2.086 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.699e-05/0.9292, allocations: 0 / 1.285 GB, free: 2.086 MB / 1.014 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.004663/0.9339, allocations: 2.911 MB / 1.288 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.9339, allocations: 9.5 kB / 1.288 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002859/0.9342, allocations: 249.6 kB / 1.289 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003694/0.9379, allocations: 0.5676 MB / 1.289 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.9417, allocations: 3.444 MB / 1.292 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.518e-05/0.9418, allocations: 132.1 kB / 1.293 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.942, allocations: 167.1 kB / 1.293 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/0.9452, allocations: 1.957 MB / 1.295 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.9453, allocations: 0 / 1.295 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.9454, allocations: 74.56 kB / 1.295 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.9455, allocations: 46.34 kB / 1.295 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.9489, allocations: 2.117 MB / 1.297 GB, free: 15.82 MB / 1.029 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.008423/0.9574, allocations: 6.331 MB / 1.303 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.9606, allocations: 2.128 MB / 1.305 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.9618, allocations: 0.7688 MB / 1.306 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005447/0.9624, allocations: 438.4 kB / 1.306 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001682/0.9641, allocations: 1.012 MB / 1.307 GB, free: 13.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.787e-06/0.9641, allocations: 1.219 kB / 1.307 GB, free: 13.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.00684/0.9709, allocations: 2.998 MB / 1.31 GB, free: 12.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/0.9711, allocations: 197.6 kB / 1.31 GB, free: 12.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003829/0.9749, allocations: 4.104 MB / 1.314 GB, free: 11.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.975, allocations: 56.98 kB / 1.314 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/0.9757, allocations: 0.8883 MB / 1.315 GB, free: 11.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000353/0.976, allocations: 487.9 kB / 1.316 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003586/0.9764, allocations: 242.1 kB / 1.316 GB, free: 11.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.9765, allocations: 358 kB / 1.316 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.9776, allocations: 0.5817 MB / 1.317 GB, free: 11.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.9788, allocations: 0.8115 MB / 1.318 GB, free: 10.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.981, allocations: 1.333 MB / 1.319 GB, free: 10.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.981, allocations: 4 kB / 1.319 GB, free: 10.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003602/0.9847, allocations: 1.801 MB / 1.321 GB, free: 10.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.9847, allocations: 6.594 kB / 1.321 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.9847, allocations: 10.14 kB / 1.321 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.9857, allocations: 213.4 kB / 1.321 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.9872, allocations: 330.6 kB / 1.321 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005503/0.9927, allocations: 7.312 MB / 1.328 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.9942, allocations: 170.1 kB / 1.329 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.9943, allocations: 53.42 kB / 1.329 GB, free: 3.262 MB / 1.029 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.0007961/0.9951, allocations: 498.4 kB / 1.329 GB, free: 2.988 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.9955, allocations: 197.6 kB / 1.329 GB, free: 2.887 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004359/0.9998, allocations: 2.154 MB / 1.331 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.9999, allocations: 13.81 kB / 1.331 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.9999, allocations: 2.5 kB / 1.331 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.9999, allocations: 8.531 kB / 1.331 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006354/1.006, allocations: 4.137 MB / 1.336 GB, free: 484 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.006, allocations: 0 / 1.336 GB, free: 484 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/1.008, allocations: 327.7 kB / 1.336 GB, free: 472 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008473/1.009, allocations: 203.9 kB / 1.336 GB, free: 400 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.009, allocations: 40.28 kB / 1.336 GB, free: 380 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005339/1.014, allocations: 7.352 MB / 1.343 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.014, allocations: 4.344 kB / 1.343 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003847/1.018, allocations: 2.023 MB / 1.345 GB, free: 8.336 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008764/1.019, allocations: 0.5089 MB / 1.346 GB, free: 8.012 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/1.019, allocations: 30.42 kB / 1.346 GB, free: 7.992 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.02, allocations: 112.5 kB / 1.346 GB, free: 7.969 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/1.021, allocations: 115.1 kB / 1.346 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.021, allocations: 72.09 kB / 1.346 GB, free: 7.938 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002736/1.023, allocations: 3.147 MB / 1.349 GB, free: 6.914 MB / 1.045 GB Notification: Performance of sort global known variables: time 2e-07/1.023, allocations: 0.9375 kB / 1.349 GB, free: 6.914 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001668/1.025, allocations: 0.6694 MB / 1.35 GB, free: 6.746 MB / 1.045 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.005582/1.031, allocations: 3.232 MB / 1.353 GB, free: 5.238 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003203/1.034, allocations: 2.072 MB / 1.355 GB, free: 4.246 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.034, allocations: 4.547 kB / 1.355 GB, free: 4.242 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/1.036, allocations: 1.426 MB / 1.356 GB, free: 3.441 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/1.038, allocations: 0.542 MB / 1.357 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/1.067, allocations: 21.24 MB / 1.378 GB, free: 5.445 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/1.068, allocations: 1.546 MB / 1.379 GB, free: 3.867 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001677/1.07, allocations: 0.5249 MB / 1.38 GB, free: 3.336 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.071, allocations: 0.9014 MB / 1.381 GB, free: 2.434 MB / 1.061 GB Notification: Performance of SimCode: time 1.052e-06/1.071, allocations: 0 / 1.381 GB, free: 2.434 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5042/1.575, allocations: 48.75 MB / 1.428 GB, free: 2.164 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.87, allocations: 3.938 kB / 1.428 GB, free: 2.16 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches