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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001453/0.001453, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001761/0.001761, allocations: 194.8 kB / 16.14 MB, free: 6.645 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.506/2.506, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001242, allocations: 66.03 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2464, allocations: 157.4 MB / 1.052 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1582/0.4046, allocations: 166.1 MB / 1.214 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01972/0.4244, allocations: 17.41 MB / 1.231 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.4256, allocations: 27.81 kB / 1.231 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.4271, allocations: 481 kB / 1.232 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.431, allocations: 1.598 MB / 1.233 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.4337, allocations: 1.276 MB / 1.235 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002663/0.4364, allocations: 3.113 MB / 1.238 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.4383, allocations: 1.799 MB / 1.24 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004196/0.4425, allocations: 1.267 MB / 1.241 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.4435, allocations: 1.101 MB / 1.242 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.4437, allocations: 120 kB / 1.242 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.4462, allocations: 1.579 MB / 1.243 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005738/0.4468, allocations: 0.7047 MB / 1.244 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.4478, allocations: 1.181 MB / 1.245 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4763/0.9241, allocations: 3.645 MB / 1.249 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.9241, allocations: 0 / 1.249 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9241, allocations: 0.7188 kB / 1.249 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.404e-05/0.9242, allocations: 1.094 kB / 1.249 GB, free: 10.41 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.004791/0.929, allocations: 2.939 MB / 1.252 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.929, allocations: 13.91 kB / 1.252 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002996/0.9293, allocations: 247.1 kB / 1.252 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003776/0.9331, allocations: 0.5779 MB / 1.253 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/0.9365, allocations: 3.4 MB / 1.256 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/0.9366, allocations: 129.2 kB / 1.256 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.9368, allocations: 170.7 kB / 1.256 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003084/0.9399, allocations: 1.96 MB / 1.258 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.9399, allocations: 1.531 kB / 1.258 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.9401, allocations: 74.3 kB / 1.258 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.9401, allocations: 41.25 kB / 1.258 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003346/0.9435, allocations: 2.115 MB / 1.26 GB, free: 8.211 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.01012/0.9536, allocations: 6.746 MB / 1.267 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/0.9575, allocations: 2.133 MB / 1.269 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.959, allocations: 0.7759 MB / 1.27 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000497/0.9595, allocations: 430.4 kB / 1.27 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.9613, allocations: 1.019 MB / 1.271 GB, free: 5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.516e-06/0.9613, allocations: 1.078 kB / 1.271 GB, free: 5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006921/0.9683, allocations: 3.004 MB / 1.274 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.9683, allocations: 199.4 kB / 1.274 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004259/0.9726, allocations: 4.096 MB / 1.278 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.9728, allocations: 62.92 kB / 1.278 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005746/0.9734, allocations: 0.8935 MB / 1.279 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/0.9737, allocations: 484.9 kB / 1.28 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.9741, allocations: 239.8 kB / 1.28 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.9741, allocations: 355.5 kB / 1.28 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.9752, allocations: 0.5849 MB / 1.281 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.9764, allocations: 0.8137 MB / 1.282 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.9787, allocations: 1.333 MB / 1.283 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.9787, allocations: 0 / 1.283 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003708/0.9824, allocations: 1.797 MB / 1.285 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.9824, allocations: 8.531 kB / 1.285 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.9825, allocations: 1.125 kB / 1.285 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009916/0.9835, allocations: 209.7 kB / 1.285 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.985, allocations: 336.2 kB / 1.285 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005199/0.9902, allocations: 6.812 MB / 1.292 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.9918, allocations: 187.8 kB / 1.292 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.9919, allocations: 53.22 kB / 1.292 GB, free: 12.04 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.0008729/0.9928, allocations: 499.5 kB / 1.293 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.9931, allocations: 190.1 kB / 1.293 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004123/0.9973, allocations: 2.17 MB / 1.295 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.9973, allocations: 15.16 kB / 1.295 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.9973, allocations: 5.438 kB / 1.295 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.9973, allocations: 11.14 kB / 1.295 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006078/1.003, allocations: 4.135 MB / 1.299 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.003, allocations: 0 / 1.299 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/1.005, allocations: 319.4 kB / 1.299 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008576/1.006, allocations: 208.9 kB / 1.299 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.28e-05/1.006, allocations: 43.98 kB / 1.299 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005116/1.011, allocations: 6.843 MB / 1.306 GB, free: 4.793 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.011, allocations: 4.125 kB / 1.306 GB, free: 4.789 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003734/1.015, allocations: 2.026 MB / 1.308 GB, free: 4.461 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007659/1.015, allocations: 0.5033 MB / 1.309 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/1.016, allocations: 37.09 kB / 1.309 GB, free: 4.246 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.017, allocations: 140.1 kB / 1.309 GB, free: 4.234 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/1.017, allocations: 116.2 kB / 1.309 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.018, allocations: 71.53 kB / 1.309 GB, free: 4.23 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00258/1.02, allocations: 3.144 MB / 1.312 GB, free: 4.121 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.02, allocations: 0 / 1.312 GB, free: 4.121 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001705/1.022, allocations: 0.7024 MB / 1.313 GB, free: 4.008 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.005419/1.027, allocations: 3.222 MB / 1.316 GB, free: 3.062 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003096/1.03, allocations: 2.069 MB / 1.318 GB, free: 2.473 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.03, allocations: 3.672 kB / 1.318 GB, free: 2.473 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/1.032, allocations: 1.424 MB / 1.319 GB, free: 1.906 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/1.034, allocations: 0.5278 MB / 1.32 GB, free: 1.859 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/1.065, allocations: 23.54 MB / 1.343 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.066, allocations: 1.532 MB / 1.344 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001998/1.068, allocations: 0.5232 MB / 1.345 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/1.069, allocations: 0.9075 MB / 1.346 GB, free: 10.59 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/1.069, allocations: 1.203 kB / 1.346 GB, free: 10.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8415/1.911, allocations: 47.63 MB / 1.392 GB, free: 2.488 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003426/1.911, allocations: 299.4 kB / 1.392 GB, free: 2.102 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/5.001, allocations: 0 / 1.392 GB, free: 2.102 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