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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 443.4 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.89 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3551, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.866/1.221, allocations: 169.2 MB / 1.381 GB, free: 8.988 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0294/1.25, allocations: 17.63 MB / 1.399 GB, free: 11.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/1.253, allocations: 40 kB / 1.399 GB, free: 11.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002809/1.256, allocations: 0.5987 MB / 1.399 GB, free: 11.15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008491/1.265, allocations: 1.81 MB / 1.401 GB, free: 9.797 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005078/1.27, allocations: 1.482 MB / 1.402 GB, free: 8.676 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005316/1.275, allocations: 2.883 MB / 1.405 GB, free: 6.945 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003906/1.279, allocations: 1.59 MB / 1.407 GB, free: 5.781 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006559/1.286, allocations: 1.479 MB / 1.408 GB, free: 4.961 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003/1.289, allocations: 1.158 MB / 1.409 GB, free: 4.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0009902/1.29, allocations: 222 kB / 1.41 GB, free: 4.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004931/1.295, allocations: 1.604 MB / 1.411 GB, free: 3.402 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001518/1.296, allocations: 0.8 MB / 1.412 GB, free: 2.836 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002905/1.299, allocations: 1.236 MB / 1.413 GB, free: 1.965 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007391/1.306, allocations: 3.623 MB / 1.417 GB, free: 15.47 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.306, allocations: 0 / 1.417 GB, free: 15.47 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.873e-06/1.306, allocations: 4 kB / 1.417 GB, free: 15.47 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001518/1.307, allocations: 2.906 kB / 1.417 GB, free: 15.47 MB / 1.092 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.007408/1.314, allocations: 2.864 MB / 1.419 GB, free: 13.35 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.314, allocations: 10.19 kB / 1.419 GB, free: 13.35 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004017/1.318, allocations: 0.5716 MB / 1.42 GB, free: 13.07 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/1.321, allocations: 1.656 MB / 1.422 GB, free: 11.91 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/1.321, allocations: 130.6 kB / 1.422 GB, free: 11.86 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/1.321, allocations: 163.8 kB / 1.422 GB, free: 11.8 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003499/1.325, allocations: 1.961 MB / 1.424 GB, free: 10.66 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/1.325, allocations: 3.938 kB / 1.424 GB, free: 10.66 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/1.325, allocations: 74.28 kB / 1.424 GB, free: 10.6 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/1.325, allocations: 40.38 kB / 1.424 GB, free: 10.6 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003965/1.329, allocations: 2.118 MB / 1.426 GB, free: 8.754 MB / 1.092 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.0105/1.339, allocations: 6.207 MB / 1.432 GB, free: 2.207 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/1.343, allocations: 2.04 MB / 1.434 GB, free: 84 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/1.344, allocations: 0.7183 MB / 1.435 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000662/1.345, allocations: 417.6 kB / 1.435 GB, free: 14.88 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001954/1.347, allocations: 1.024 MB / 1.436 GB, free: 13.84 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.036e-06/1.347, allocations: 4 kB / 1.436 GB, free: 13.83 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.007148/1.354, allocations: 2.994 MB / 1.439 GB, free: 10.73 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/1.354, allocations: 197.2 kB / 1.439 GB, free: 10.49 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/1.357, allocations: 1.837 MB / 1.441 GB, free: 8.641 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002362/1.357, allocations: 61.64 kB / 1.441 GB, free: 8.574 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008347/1.358, allocations: 0.8561 MB / 1.442 GB, free: 7.707 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005093/1.359, allocations: 0.4996 MB / 1.442 GB, free: 7.203 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/1.359, allocations: 258.8 kB / 1.443 GB, free: 6.945 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001908/1.359, allocations: 357.9 kB / 1.443 GB, free: 6.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/1.361, allocations: 0.6077 MB / 1.444 GB, free: 5.98 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/1.362, allocations: 0.813 MB / 1.444 GB, free: 5.117 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/1.365, allocations: 1.353 MB / 1.446 GB, free: 3.75 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.365, allocations: 4 kB / 1.446 GB, free: 3.746 MB / 1.107 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004287/1.369, allocations: 1.843 MB / 1.448 GB, free: 1.879 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.369, allocations: 11.94 kB / 1.448 GB, free: 1.867 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.369, allocations: 0 / 1.448 GB, free: 1.867 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/1.37, allocations: 212.1 kB / 1.448 GB, free: 1.645 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/1.372, allocations: 343.5 kB / 1.448 GB, free: 1.309 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00702/1.379, allocations: 7.317 MB / 1.455 GB, free: 9.293 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.381, allocations: 171.2 kB / 1.455 GB, free: 9.125 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/1.381, allocations: 59.95 kB / 1.455 GB, free: 9.066 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (153): * Single equations (assignments): 148 * 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.001052/1.382, allocations: 487.2 kB / 1.456 GB, free: 8.582 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004346/1.382, allocations: 190.8 kB / 1.456 GB, free: 8.395 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004803/1.387, allocations: 2.149 MB / 1.458 GB, free: 6.219 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/1.387, allocations: 16 kB / 1.458 GB, free: 6.203 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.387, allocations: 0 / 1.458 GB, free: 6.203 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.741e-05/1.387, allocations: 11.97 kB / 1.458 GB, free: 6.191 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00756/1.395, allocations: 4.01 MB / 1.462 GB, free: 2.105 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/1.395, allocations: 0 / 1.462 GB, free: 2.105 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.396, allocations: 323.5 kB / 1.462 GB, free: 1.789 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000891/1.397, allocations: 204.1 kB / 1.463 GB, free: 1.574 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/1.397, allocations: 39.97 kB / 1.463 GB, free: 1.535 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006959/1.404, allocations: 7.371 MB / 1.47 GB, free: 9.457 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.404, allocations: 3.938 kB / 1.47 GB, free: 9.453 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004843/1.409, allocations: 2.013 MB / 1.472 GB, free: 7.402 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009599/1.41, allocations: 483.2 kB / 1.472 GB, free: 6.91 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/1.41, allocations: 35.98 kB / 1.472 GB, free: 6.875 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.412, allocations: 105.9 kB / 1.472 GB, free: 6.773 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/1.412, allocations: 113.2 kB / 1.473 GB, free: 6.664 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/1.412, allocations: 75.94 kB / 1.473 GB, free: 6.59 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001907/1.414, allocations: 1.302 MB / 1.474 GB, free: 5.293 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.414, allocations: 0 / 1.474 GB, free: 5.293 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001885/1.416, allocations: 0.6938 MB / 1.475 GB, free: 4.598 MB / 1.139 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.002344/1.418, allocations: 0.7538 MB / 1.475 GB, free: 4.027 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00379/1.422, allocations: 2.047 MB / 1.477 GB, free: 1.914 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.422, allocations: 4.562 kB / 1.477 GB, free: 1.91 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002179/1.424, allocations: 1.379 MB / 1.479 GB, free: 480 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/1.427, allocations: 0.5477 MB / 1.479 GB, free: 15.94 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007832/1.434, allocations: 3.929 MB / 1.483 GB, free: 11.97 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/1.436, allocations: 1.545 MB / 1.485 GB, free: 10.39 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001912/1.438, allocations: 0.497 MB / 1.485 GB, free: 9.887 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/1.438, allocations: 171.4 kB / 1.485 GB, free: 9.719 MB / 1.154 GB Notification: Performance of SimCode: time 1.542e-06/1.438, allocations: 0 / 1.485 GB, free: 9.719 MB / 1.154 GB Notification: Performance of Templates: time 0.06373/1.502, allocations: 33.18 MB / 1.518 GB, free: 8.902 MB / 1.186 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.61967876367271]