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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_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.007278/0.007278, allocations: 97.97 kB / 15.73 MB, free: 6.004 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.001324/0.001324, allocations: 192.4 kB / 16.67 MB, free: 5.934 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 / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.772/2.772, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3259, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.8598/1.186, allocations: 168.5 MB / 1.331 GB, free: 2.586 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02423/1.21, allocations: 17.37 MB / 1.348 GB, free: 6.184 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/1.212, allocations: 30.06 kB / 1.348 GB, free: 6.172 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/1.214, allocations: 0.5723 MB / 1.349 GB, free: 5.824 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00626/1.221, allocations: 1.773 MB / 1.35 GB, free: 4.855 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004256/1.225, allocations: 1.451 MB / 1.352 GB, free: 4.074 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004997/1.23, allocations: 2.891 MB / 1.355 GB, free: 2.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003157/1.233, allocations: 1.94 MB / 1.357 GB, free: 1.723 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004615/1.238, allocations: 1.431 MB / 1.358 GB, free: 1.098 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/1.24, allocations: 1.118 MB / 1.359 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008752/1.241, allocations: 226.2 kB / 1.359 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/1.245, allocations: 1.557 MB / 1.361 GB, free: 56 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001222/1.246, allocations: 0.7935 MB / 1.362 GB, free: 15.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00264/1.249, allocations: 1.233 MB / 1.363 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006704/1.256, allocations: 3.628 MB / 1.366 GB, free: 12.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.256, allocations: 1.188 kB / 1.366 GB, free: 12.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.084e-06/1.256, allocations: 0 / 1.366 GB, free: 12.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.202e-05/1.256, allocations: 0 / 1.366 GB, free: 12.59 MB / 1.045 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.00591/1.262, allocations: 2.871 MB / 1.369 GB, free: 10.47 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.262, allocations: 12.22 kB / 1.369 GB, free: 10.46 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/1.266, allocations: 0.5681 MB / 1.37 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/1.268, allocations: 1.651 MB / 1.371 GB, free: 9.039 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/1.269, allocations: 134.9 kB / 1.371 GB, free: 8.977 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/1.269, allocations: 167.8 kB / 1.372 GB, free: 8.926 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/1.272, allocations: 1.958 MB / 1.373 GB, free: 7.781 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/1.272, allocations: 0 / 1.373 GB, free: 7.781 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/1.272, allocations: 74.5 kB / 1.374 GB, free: 7.727 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/1.272, allocations: 45.45 kB / 1.374 GB, free: 7.723 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/1.276, allocations: 2.121 MB / 1.376 GB, free: 6.754 MB / 1.045 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.00908/1.285, allocations: 6.205 MB / 1.382 GB, free: 1.852 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/1.288, allocations: 2.131 MB / 1.384 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/1.289, allocations: 0.7663 MB / 1.385 GB, free: 288 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006199/1.29, allocations: 436.3 kB / 1.385 GB, free: 15.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001789/1.292, allocations: 1.016 MB / 1.386 GB, free: 15.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 3.015e-06/1.292, allocations: 0 / 1.386 GB, free: 15.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=146): time 0.007428/1.299, allocations: 3.001 MB / 1.389 GB, free: 13.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/1.299, allocations: 199.7 kB / 1.389 GB, free: 13.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/1.303, allocations: 1.826 MB / 1.391 GB, free: 12.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002206/1.303, allocations: 67.72 kB / 1.391 GB, free: 12.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008724/1.304, allocations: 0.8589 MB / 1.392 GB, free: 11.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005391/1.304, allocations: 0.5035 MB / 1.392 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005111/1.305, allocations: 257.9 kB / 1.393 GB, free: 11.03 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.305, allocations: 358 kB / 1.393 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/1.306, allocations: 0.6024 MB / 1.393 GB, free: 10.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/1.308, allocations: 0.81 MB / 1.394 GB, free: 9.934 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/1.31, allocations: 1.365 MB / 1.396 GB, free: 9.234 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.31, allocations: 0 / 1.396 GB, free: 9.234 MB / 1.061 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004185/1.314, allocations: 1.843 MB / 1.397 GB, free: 7.367 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.314, allocations: 7.938 kB / 1.397 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.314, allocations: 64 / 1.397 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/1.315, allocations: 216 kB / 1.398 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/1.317, allocations: 339.6 kB / 1.398 GB, free: 6.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005915/1.323, allocations: 7.325 MB / 1.405 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/1.325, allocations: 175.1 kB / 1.405 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/1.325, allocations: 55.95 kB / 1.405 GB, free: 14.55 MB / 1.076 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.0011/1.326, allocations: 487.2 kB / 1.406 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006035/1.327, allocations: 194.9 kB / 1.406 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005057/1.332, allocations: 2.145 MB / 1.408 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.332, allocations: 16 kB / 1.408 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/1.332, allocations: 0 / 1.408 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/1.332, allocations: 7.969 kB / 1.408 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007899/1.34, allocations: 4.021 MB / 1.412 GB, free: 7.578 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.34, allocations: 0 / 1.412 GB, free: 7.578 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.341, allocations: 323.5 kB / 1.412 GB, free: 7.262 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009293/1.342, allocations: 200.1 kB / 1.412 GB, free: 7.051 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/1.342, allocations: 39.97 kB / 1.413 GB, free: 7.012 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006515/1.349, allocations: 7.363 MB / 1.42 GB, free: 14.94 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.349, allocations: 12.09 kB / 1.42 GB, free: 14.93 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/1.354, allocations: 2.017 MB / 1.422 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/1.355, allocations: 483.2 kB / 1.422 GB, free: 12.38 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005141/1.356, allocations: 31.98 kB / 1.422 GB, free: 12.35 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/1.357, allocations: 112.1 kB / 1.422 GB, free: 12.25 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/1.357, allocations: 109.2 kB / 1.422 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001926/1.358, allocations: 75.88 kB / 1.422 GB, free: 12.07 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002306/1.36, allocations: 1.31 MB / 1.424 GB, free: 10.76 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.91e-07/1.36, allocations: 0 / 1.424 GB, free: 10.76 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002376/1.362, allocations: 0.686 MB / 1.424 GB, free: 10.07 MB / 1.092 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.002169/1.364, allocations: 0.7622 MB / 1.425 GB, free: 9.492 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003897/1.368, allocations: 2.102 MB / 1.427 GB, free: 7.324 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.368, allocations: 8.5 kB / 1.427 GB, free: 7.316 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/1.371, allocations: 1.43 MB / 1.429 GB, free: 5.824 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/1.374, allocations: 0.5516 MB / 1.429 GB, free: 5.297 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007926/1.382, allocations: 3.908 MB / 1.433 GB, free: 1.344 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/1.384, allocations: 1.545 MB / 1.434 GB, free: 15.77 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002186/1.386, allocations: 0.497 MB / 1.435 GB, free: 15.26 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007316/1.387, allocations: 171.4 kB / 1.435 GB, free: 15.09 MB / 1.107 GB Notification: Performance of SimCode: time 9.21e-07/1.387, allocations: 0 / 1.435 GB, free: 15.09 MB / 1.107 GB Notification: Performance of Templates: time 0.05351/1.44, allocations: 32.46 MB / 1.467 GB, free: 15 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) 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) Reference file matches