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.001604/0.001604, 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.00182/0.00182, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.284/2.284, allocations: 390.2 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.91 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.5498, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1575/0.7073, allocations: 167.2 MB / 1.113 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02032/0.7277, allocations: 17.22 MB / 1.13 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.7288, allocations: 31.81 kB / 1.13 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.7304, allocations: 0.5274 MB / 1.13 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004302/0.7347, allocations: 1.683 MB / 1.132 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.7379, allocations: 1.412 MB / 1.133 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002753/0.7407, allocations: 2.67 MB / 1.136 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002477/0.7432, allocations: 1.998 MB / 1.138 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003546/0.7467, allocations: 1.392 MB / 1.139 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.7482, allocations: 1.089 MB / 1.14 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005122/0.7487, allocations: 220 kB / 1.141 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.7516, allocations: 1.525 MB / 1.142 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008299/0.7524, allocations: 0.8062 MB / 1.143 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.7541, allocations: 1.243 MB / 1.144 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.7585, allocations: 3.606 MB / 1.148 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7585, allocations: 4 kB / 1.148 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7585, allocations: 0 / 1.148 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.181e-05/0.7586, allocations: 0 / 1.148 GB, free: 6.527 MB / 0.9044 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.005312/0.764, allocations: 2.903 MB / 1.15 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.764, allocations: 12.03 kB / 1.15 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002722/0.7643, allocations: 252.9 kB / 1.151 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003744/0.768, allocations: 0.5666 MB / 1.151 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003722/0.7718, allocations: 3.398 MB / 1.155 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.7719, allocations: 135.4 kB / 1.155 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.7721, allocations: 164 kB / 1.155 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/0.7752, allocations: 1.96 MB / 1.157 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.7753, allocations: 3.984 kB / 1.157 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.7754, allocations: 76 kB / 1.157 GB, free: 12.89 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.7755, allocations: 40 kB / 1.157 GB, free: 12.85 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.7789, allocations: 2.12 MB / 1.159 GB, free: 10.72 MB / 0.92 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.008507/0.7874, allocations: 6.387 MB / 1.165 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/0.7908, allocations: 2.132 MB / 1.167 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.7921, allocations: 0.7763 MB / 1.168 GB, free: 1.086 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/0.7926, allocations: 433.6 kB / 1.168 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001688/0.7943, allocations: 1.013 MB / 1.169 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 3.055e-06/0.7943, allocations: 0 / 1.169 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.006809/0.8012, allocations: 2.992 MB / 1.172 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.8013, allocations: 205.2 kB / 1.173 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/0.8053, allocations: 4.094 MB / 1.177 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.8055, allocations: 61.7 kB / 1.177 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000672/0.8061, allocations: 0.8985 MB / 1.177 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/0.8065, allocations: 481 kB / 1.178 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.8069, allocations: 238.8 kB / 1.178 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.807, allocations: 353.9 kB / 1.179 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.8081, allocations: 0.5804 MB / 1.179 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.8094, allocations: 0.8124 MB / 1.18 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/0.8118, allocations: 1.337 MB / 1.181 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8118, allocations: 0 / 1.181 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003888/0.8157, allocations: 1.803 MB / 1.183 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.8158, allocations: 8 kB / 1.183 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.8158, allocations: 0 / 1.183 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.8168, allocations: 208.2 kB / 1.183 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.8184, allocations: 331.5 kB / 1.183 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005439/0.8239, allocations: 7.323 MB / 1.191 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.8255, allocations: 167 kB / 1.191 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.8256, allocations: 55.95 kB / 1.191 GB, free: 8.637 MB / 0.9512 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.0008753/0.8265, allocations: 489.4 kB / 1.191 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/0.8269, allocations: 193.7 kB / 1.191 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004849/0.8317, allocations: 2.169 MB / 1.194 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.8318, allocations: 12 kB / 1.194 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8318, allocations: 4 kB / 1.194 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.8318, allocations: 7.969 kB / 1.194 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007374/0.8392, allocations: 4.148 MB / 1.198 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.8392, allocations: 0 / 1.198 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.8408, allocations: 319.6 kB / 1.198 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008607/0.8417, allocations: 200.1 kB / 1.198 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.539e-05/0.8418, allocations: 43.95 kB / 1.198 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005694/0.8475, allocations: 7.36 MB / 1.205 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.8475, allocations: 4.031 kB / 1.205 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004385/0.8519, allocations: 2.034 MB / 1.207 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008314/0.8527, allocations: 0.5021 MB / 1.208 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.853, allocations: 39.86 kB / 1.208 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.8544, allocations: 115.2 kB / 1.208 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.8547, allocations: 109.2 kB / 1.208 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.8548, allocations: 71.94 kB / 1.208 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003034/0.8579, allocations: 3.145 MB / 1.211 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8579, allocations: 4 kB / 1.211 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001601/0.8595, allocations: 0.6626 MB / 1.212 GB, free: 2.156 MB / 0.9669 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.006144/0.8656, allocations: 3.239 MB / 1.215 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005463/0.8711, allocations: 2.515 MB / 1.218 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.8711, allocations: 4.547 kB / 1.218 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/0.8733, allocations: 1.422 MB / 1.219 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.8758, allocations: 0.5334 MB / 1.219 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0326/0.9085, allocations: 22.85 MB / 1.242 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.9098, allocations: 1.545 MB / 1.243 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002111/0.9119, allocations: 0.5287 MB / 1.244 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/0.9133, allocations: 0.8976 MB / 1.245 GB, free: 15.76 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.9133, allocations: 0 / 1.245 GB, free: 15.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4764/1.39, allocations: 48.29 MB / 1.292 GB, free: 284.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.8, allocations: 4.078 kB / 1.292 GB, free: 284.1 MB / 1.014 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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