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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: 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_latest_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_latest_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.001472/0.001472, allocations: 108 kB / 15.6 MB, free: 132 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.001918/0.001919, allocations: 194 kB / 16.53 MB, free: 6.391 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.34 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3011, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1767/0.4778, allocations: 168.5 MB / 1.233 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6269/1.105, allocations: 17.35 MB / 1.25 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/1.107, allocations: 30.03 kB / 1.25 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001684/1.108, allocations: 0.5683 MB / 1.25 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005505/1.114, allocations: 1.784 MB / 1.252 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003586/1.117, allocations: 1.435 MB / 1.253 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003936/1.121, allocations: 2.865 MB / 1.256 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/1.124, allocations: 1.947 MB / 1.258 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/1.128, allocations: 1.424 MB / 1.259 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/1.13, allocations: 1.117 MB / 1.261 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003707/1.13, allocations: 223.4 kB / 1.261 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/1.134, allocations: 1.526 MB / 1.262 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007668/1.134, allocations: 0.7971 MB / 1.263 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00151/1.136, allocations: 1.23 MB / 1.264 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005353/1.141, allocations: 3.543 MB / 1.268 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.141, allocations: 1.297 kB / 1.268 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.794e-06/1.141, allocations: 0 / 1.268 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.258e-05/1.141, allocations: 4.531 kB / 1.268 GB, free: 5.004 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.005872/1.147, allocations: 2.783 MB / 1.27 GB, free: 19.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/1.147, allocations: 9.438 kB / 1.27 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/1.151, allocations: 0.554 MB / 1.271 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/1.155, allocations: 1.609 MB / 1.273 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/1.155, allocations: 129.4 kB / 1.273 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/1.155, allocations: 169.1 kB / 1.273 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00416/1.159, allocations: 1.957 MB / 1.275 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/1.159, allocations: 2.094 kB / 1.275 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/1.159, allocations: 75.31 kB / 1.275 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/1.159, allocations: 40.83 kB / 1.275 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003952/1.163, allocations: 2.115 MB / 1.277 GB, free: 18.86 MB / 1.014 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.01008/1.173, allocations: 6.264 MB / 1.283 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/1.177, allocations: 2.134 MB / 1.285 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/1.178, allocations: 0.771 MB / 1.286 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006235/1.179, allocations: 425.8 kB / 1.286 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00186/1.181, allocations: 1.027 MB / 1.287 GB, free: 15.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 5.411e-06/1.181, allocations: 0 / 1.287 GB, free: 15.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007038/1.188, allocations: 2.984 MB / 1.29 GB, free: 14.97 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.188, allocations: 203.7 kB / 1.29 GB, free: 14.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/1.19, allocations: 1.825 MB / 1.292 GB, free: 14.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/1.191, allocations: 62.83 kB / 1.292 GB, free: 14.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006042/1.191, allocations: 0.8533 MB / 1.293 GB, free: 14.25 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/1.192, allocations: 488 kB / 1.293 GB, free: 13.94 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/1.192, allocations: 256.8 kB / 1.294 GB, free: 13.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.192, allocations: 356.6 kB / 1.294 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/1.193, allocations: 0.602 MB / 1.295 GB, free: 13.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/1.195, allocations: 0.813 MB / 1.295 GB, free: 13.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/1.197, allocations: 1.357 MB / 1.297 GB, free: 13.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.197, allocations: 4.25 kB / 1.297 GB, free: 13.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004174/1.201, allocations: 1.835 MB / 1.299 GB, free: 13.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.201, allocations: 5.5 kB / 1.299 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.201, allocations: 1.125 kB / 1.299 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/1.202, allocations: 215.1 kB / 1.299 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/1.204, allocations: 341.9 kB / 1.299 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005583/1.21, allocations: 7.327 MB / 1.306 GB, free: 6.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/1.212, allocations: 170.1 kB / 1.306 GB, free: 6.328 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/1.212, allocations: 57.64 kB / 1.306 GB, free: 6.328 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: 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.000977/1.213, allocations: 488.2 kB / 1.307 GB, free: 6.211 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/1.213, allocations: 183 kB / 1.307 GB, free: 6.117 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00452/1.218, allocations: 2.154 MB / 1.309 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.218, allocations: 15.22 kB / 1.309 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.218, allocations: 8.375 kB / 1.309 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/1.218, allocations: 5.719 kB / 1.309 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006761/1.224, allocations: 4.016 MB / 1.313 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/1.224, allocations: 1 kB / 1.313 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.226, allocations: 324.2 kB / 1.314 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009737/1.227, allocations: 201.1 kB / 1.314 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/1.227, allocations: 41.22 kB / 1.314 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006688/1.234, allocations: 7.356 MB / 1.321 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.234, allocations: 2.094 kB / 1.321 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004958/1.239, allocations: 2.005 MB / 1.323 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.24, allocations: 478.5 kB / 1.323 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005735/1.241, allocations: 31.19 kB / 1.323 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/1.242, allocations: 112.4 kB / 1.323 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/1.243, allocations: 113.8 kB / 1.324 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.243, allocations: 73.77 kB / 1.324 GB, free: 14.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001827/1.245, allocations: 1.306 MB / 1.325 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.245, allocations: 0 / 1.325 GB, free: 14.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002178/1.247, allocations: 0.6865 MB / 1.326 GB, free: 13.94 MB / 1.029 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.001994/1.249, allocations: 0.7516 MB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00565/1.255, allocations: 2.542 MB / 1.329 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.255, allocations: 3.938 kB / 1.329 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/1.257, allocations: 1.436 MB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/1.26, allocations: 0.5459 MB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007688/1.268, allocations: 3.894 MB / 1.335 GB, free: 11.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/1.269, allocations: 1.536 MB / 1.336 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002742/1.272, allocations: 0.4948 MB / 1.337 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007755/1.273, allocations: 175.8 kB / 1.337 GB, free: 10.17 MB / 1.029 GB Notification: Performance of SimCode: time 1.262e-06/1.273, allocations: 2.062 kB / 1.337 GB, free: 10.17 MB / 1.029 GB Notification: Performance of Templates: time 0.06028/1.333, allocations: 32.15 MB / 1.368 GB, free: 8.535 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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