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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 110.8 kB / 16.41 MB, free: 6.492 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.001982/0.001982, allocations: 187 kB / 17.34 MB, free: 5.766 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.37/2.37, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.89 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9238/0.9253, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2096/1.135, allocations: 167.2 MB / 1.252 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02516/1.16, allocations: 17.21 MB / 1.269 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/1.162, allocations: 31.81 kB / 1.269 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/1.164, allocations: 0.5469 MB / 1.269 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005863/1.17, allocations: 1.711 MB / 1.271 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004117/1.174, allocations: 1.432 MB / 1.272 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004112/1.178, allocations: 2.701 MB / 1.275 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003338/1.181, allocations: 1.998 MB / 1.277 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00459/1.186, allocations: 1.437 MB / 1.278 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/1.188, allocations: 1.093 MB / 1.279 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000689/1.189, allocations: 224 kB / 1.28 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003597/1.192, allocations: 1.552 MB / 1.281 GB, free: 8.512 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/1.193, allocations: 0.7985 MB / 1.282 GB, free: 7.711 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001931/1.195, allocations: 1.185 MB / 1.283 GB, free: 6.52 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006301/1.202, allocations: 3.547 MB / 1.287 GB, free: 2.961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.202, allocations: 4 kB / 1.287 GB, free: 2.957 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.916e-06/1.202, allocations: 0 / 1.287 GB, free: 2.957 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001122/1.202, allocations: 0 / 1.287 GB, free: 2.957 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.006635/1.208, allocations: 2.755 MB / 1.289 GB, free: 144 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.208, allocations: 12.03 kB / 1.289 GB, free: 132 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004073/1.212, allocations: 0.5551 MB / 1.29 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/1.216, allocations: 1.647 MB / 1.291 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/1.216, allocations: 127.4 kB / 1.292 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/1.216, allocations: 171.9 kB / 1.292 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003712/1.22, allocations: 1.961 MB / 1.294 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/1.22, allocations: 0 / 1.294 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/1.22, allocations: 76 kB / 1.294 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/1.22, allocations: 40 kB / 1.294 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/1.224, allocations: 2.113 MB / 1.296 GB, free: 9.336 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.01025/1.234, allocations: 5.816 MB / 1.301 GB, free: 3.262 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/1.238, allocations: 2.121 MB / 1.304 GB, free: 1.055 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/1.239, allocations: 0.7807 MB / 1.304 GB, free: 276 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/1.24, allocations: 433.6 kB / 1.305 GB, free: 15.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001834/1.241, allocations: 1.009 MB / 1.306 GB, free: 14.74 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.326e-06/1.241, allocations: 4 kB / 1.306 GB, free: 14.74 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.00689/1.248, allocations: 2.981 MB / 1.309 GB, free: 11.64 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/1.249, allocations: 201.2 kB / 1.309 GB, free: 11.4 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/1.251, allocations: 1.829 MB / 1.311 GB, free: 9.562 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003116/1.252, allocations: 61.7 kB / 1.311 GB, free: 9.496 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007929/1.252, allocations: 0.847 MB / 1.311 GB, free: 8.637 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005538/1.253, allocations: 481 kB / 1.312 GB, free: 8.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004632/1.253, allocations: 262.7 kB / 1.312 GB, free: 7.898 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.254, allocations: 357.9 kB / 1.313 GB, free: 7.543 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/1.255, allocations: 0.6038 MB / 1.313 GB, free: 6.938 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/1.256, allocations: 0.813 MB / 1.314 GB, free: 6.074 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/1.259, allocations: 1.357 MB / 1.315 GB, free: 4.707 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/1.259, allocations: 0 / 1.315 GB, free: 4.707 MB / 1.045 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004271/1.263, allocations: 1.838 MB / 1.317 GB, free: 2.844 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/1.263, allocations: 11.94 kB / 1.317 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.263, allocations: 3.984 kB / 1.317 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/1.264, allocations: 208.2 kB / 1.317 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/1.266, allocations: 343.5 kB / 1.318 GB, free: 2.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00631/1.272, allocations: 7.313 MB / 1.325 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/1.274, allocations: 169.3 kB / 1.325 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/1.274, allocations: 59.89 kB / 1.325 GB, free: 10.04 MB / 1.061 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.001111/1.275, allocations: 495.2 kB / 1.325 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004489/1.276, allocations: 181.8 kB / 1.326 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004522/1.28, allocations: 2.148 MB / 1.328 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/1.28, allocations: 16 kB / 1.328 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.28, allocations: 4 kB / 1.328 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/1.28, allocations: 7.969 kB / 1.328 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00724/1.288, allocations: 4.01 MB / 1.332 GB, free: 3.066 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/1.288, allocations: 3.938 kB / 1.332 GB, free: 3.062 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.289, allocations: 327.5 kB / 1.332 GB, free: 2.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008642/1.29, allocations: 196.1 kB / 1.332 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/1.29, allocations: 39.97 kB / 1.332 GB, free: 2.496 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006076/1.296, allocations: 7.363 MB / 1.339 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/1.296, allocations: 3.938 kB / 1.339 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/1.301, allocations: 2.008 MB / 1.341 GB, free: 8.379 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.302, allocations: 486.2 kB / 1.342 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/1.302, allocations: 28 kB / 1.342 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.304, allocations: 106.1 kB / 1.342 GB, free: 7.754 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/1.304, allocations: 121.1 kB / 1.342 GB, free: 7.637 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/1.304, allocations: 63.95 kB / 1.342 GB, free: 7.574 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00178/1.306, allocations: 1.31 MB / 1.343 GB, free: 6.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/1.306, allocations: 0 / 1.343 GB, free: 6.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001848/1.308, allocations: 0.6625 MB / 1.344 GB, free: 5.605 MB / 1.076 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.001818/1.309, allocations: 0.7561 MB / 1.345 GB, free: 5.035 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003732/1.313, allocations: 2.102 MB / 1.347 GB, free: 2.867 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.313, allocations: 4.547 kB / 1.347 GB, free: 2.863 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002226/1.315, allocations: 1.43 MB / 1.348 GB, free: 1.371 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/1.318, allocations: 0.5251 MB / 1.349 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00807/1.326, allocations: 3.911 MB / 1.353 GB, free: 12.92 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.327, allocations: 1.494 MB / 1.354 GB, free: 11.39 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009/1.328, allocations: 195.3 kB / 1.354 GB, free: 11.21 MB / 1.092 GB Notification: Performance of SimCode: time 1.092e-06/1.328, allocations: 0 / 1.354 GB, free: 11.21 MB / 1.092 GB Notification: Performance of Templates: time 0.08065/1.409, allocations: 67.42 MB / 1.42 GB, free: 7.828 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (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 & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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