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.001352/0.001352, 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.001307/0.001307, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.669/2.669, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.66 kB / 0.9083 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2516, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1605/0.4121, allocations: 168.4 MB / 1.228 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02023/0.4324, allocations: 17.36 MB / 1.245 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.4338, allocations: 31.81 kB / 1.245 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.4355, allocations: 0.57 MB / 1.246 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004761/0.4403, allocations: 1.793 MB / 1.247 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003207/0.4435, allocations: 1.419 MB / 1.249 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.486/0.9295, allocations: 2.867 MB / 1.252 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.9322, allocations: 1.94 MB / 1.254 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.9358, allocations: 1.424 MB / 1.255 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.9369, allocations: 1.121 MB / 1.256 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002801/0.9372, allocations: 224 kB / 1.256 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.9396, allocations: 1.524 MB / 1.258 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005598/0.9402, allocations: 0.7973 MB / 1.258 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.9413, allocations: 1.287 MB / 1.26 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003913/0.9452, allocations: 3.671 MB / 1.263 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9452, allocations: 0 / 1.263 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9453, allocations: 3.094 kB / 1.263 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.428e-05/0.9453, allocations: 1.125 kB / 1.263 GB, free: 5.477 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.00522/0.9505, allocations: 2.953 MB / 1.266 GB, free: 20.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.9506, allocations: 9.312 kB / 1.266 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003443/0.9509, allocations: 250.6 kB / 1.266 GB, free: 20.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/0.955, allocations: 0.5683 MB / 1.267 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/0.9591, allocations: 3.394 MB / 1.27 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.9592, allocations: 131 kB / 1.27 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002586/0.9594, allocations: 169.4 kB / 1.271 GB, free: 19.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/0.9633, allocations: 1.959 MB / 1.273 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.9633, allocations: 1.406 kB / 1.273 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.9635, allocations: 74.44 kB / 1.273 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.9635, allocations: 41.12 kB / 1.273 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003605/0.9671, allocations: 2.118 MB / 1.275 GB, free: 19.2 MB / 1.014 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.00912/0.9763, allocations: 6.778 MB / 1.281 GB, free: 16.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/0.9795, allocations: 2.13 MB / 1.283 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.9808, allocations: 0.7726 MB / 1.284 GB, free: 16.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/0.9814, allocations: 431.5 kB / 1.285 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00166/0.983, allocations: 1.025 MB / 1.286 GB, free: 15.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 3.056e-06/0.9831, allocations: 0 / 1.286 GB, free: 15.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.006886/0.99, allocations: 3.006 MB / 1.289 GB, free: 15.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.9901, allocations: 198.8 kB / 1.289 GB, free: 15.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00428/0.9944, allocations: 4.096 MB / 1.293 GB, free: 14.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/0.9946, allocations: 64.31 kB / 1.293 GB, free: 14.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006345/0.9952, allocations: 0.8952 MB / 1.294 GB, free: 14.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.9956, allocations: 479.2 kB / 1.294 GB, free: 14.28 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003695/0.9959, allocations: 239 kB / 1.294 GB, free: 14.26 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.9961, allocations: 355.9 kB / 1.295 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.9972, allocations: 0.5831 MB / 1.295 GB, free: 13.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.9984, allocations: 0.8153 MB / 1.296 GB, free: 13.78 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/1.001, allocations: 1.33 MB / 1.297 GB, free: 13.72 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.001, allocations: 2.875 kB / 1.297 GB, free: 13.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.0038/1.004, allocations: 1.801 MB / 1.299 GB, free: 13.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.004, allocations: 4.875 kB / 1.299 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.004, allocations: 2.969 kB / 1.299 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.005, allocations: 207.8 kB / 1.299 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/1.007, allocations: 336.7 kB / 1.3 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/1.012, allocations: 7.323 MB / 1.307 GB, free: 6.699 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/1.014, allocations: 167.8 kB / 1.307 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.014, allocations: 47.19 kB / 1.307 GB, free: 6.645 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.0009152/1.015, allocations: 0.4906 MB / 1.307 GB, free: 6.523 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/1.015, allocations: 198.6 kB / 1.308 GB, free: 6.422 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/1.02, allocations: 2.157 MB / 1.31 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.02, allocations: 20.22 kB / 1.31 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.02, allocations: 4.844 kB / 1.31 GB, free: 6.242 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/1.02, allocations: 10.91 kB / 1.31 GB, free: 6.242 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/1.026, allocations: 4.136 MB / 1.314 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/1.026, allocations: 0 / 1.314 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/1.028, allocations: 323.7 kB / 1.314 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008467/1.029, allocations: 199.4 kB / 1.314 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.389e-05/1.029, allocations: 46.66 kB / 1.314 GB, free: 5.754 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005164/1.034, allocations: 7.353 MB / 1.322 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.034, allocations: 0 / 1.322 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/1.038, allocations: 2.02 MB / 1.324 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007328/1.039, allocations: 0.5175 MB / 1.324 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/1.039, allocations: 30.47 kB / 1.324 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/1.04, allocations: 112.6 kB / 1.324 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/1.04, allocations: 120 kB / 1.324 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.041, allocations: 70.56 kB / 1.324 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002554/1.043, allocations: 3.151 MB / 1.327 GB, free: 14.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.043, allocations: 4.594 kB / 1.327 GB, free: 14.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001708/1.045, allocations: 0.6862 MB / 1.328 GB, free: 14.22 MB / 1.029 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.00553/1.05, allocations: 3.227 MB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004795/1.055, allocations: 2.515 MB / 1.334 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.055, allocations: 1.594 kB / 1.334 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/1.057, allocations: 1.423 MB / 1.335 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/1.059, allocations: 0.5508 MB / 1.336 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/1.087, allocations: 22.77 MB / 1.358 GB, free: 1.812 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.088, allocations: 1.536 MB / 1.359 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002027/1.09, allocations: 0.5257 MB / 1.36 GB, free: 104 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002856/1.093, allocations: 1.076 MB / 1.361 GB, free: 15.91 MB / 1.045 GB Notification: Performance of SimCode: time 7.32e-07/1.093, allocations: 4 kB / 1.361 GB, free: 15.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09064/1.183, allocations: 49.13 MB / 1.409 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.73, allocations: 13.56 kB / 1.409 GB, free: 0.5117 MB / 1.076 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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