Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.001278/0.001278, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001291/0.001291, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.458/1.458, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.61/2.61, allocations: 443.5 MB / 0.7293 GB, free: 14.48 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.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003239/0.003239, allocations: 71.88 kB / 1.057 GB, free: 1.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3557, allocations: 160.7 MB / 1.214 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.00434/0.3601, allocations: 2.463 MB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.3628, allocations: 1.59 MB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.112e-05/0.3629, allocations: 3.938 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006787/0.3635, allocations: 175.3 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.3639, allocations: 155.4 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.3644, allocations: 187.4 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.3647, allocations: 227.3 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.3649, allocations: 109 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3651, allocations: 91.67 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.3654, allocations: 111.6 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.3654, allocations: 12 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003839/0.3658, allocations: 223.6 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.3659, allocations: 63.81 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.366, allocations: 83.59 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.3664, allocations: 314.8 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3664, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3664, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.3664, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007912/0.3672, allocations: 494.6 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3672, allocations: 8.031 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007541/0.368, allocations: 84.72 kB / 1.22 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.3683, allocations: 240 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.3683, allocations: 8.656 kB / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.3683, allocations: 12.38 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.3689, allocations: 303.6 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.3689, allocations: 0 / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.3689, allocations: 4 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/0.369, allocations: 24.22 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.3694, allocations: 220.4 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.3715, allocations: 1.63 MB / 1.223 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.3719, allocations: 319.3 kB / 1.223 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.372, allocations: 69.66 kB / 1.223 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3721, allocations: 0 / 1.223 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3721, allocations: 34.56 kB / 1.223 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3721, allocations: 0 / 1.223 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0006235/0.3727, allocations: 257 kB / 1.223 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.3728, allocations: 77.3 kB / 1.223 GB, free: 7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.373, allocations: 211.4 kB / 1.224 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.3731, allocations: 29.7 kB / 1.224 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3732, allocations: 155.9 kB / 1.224 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3732, allocations: 35.73 kB / 1.224 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3733, allocations: 53.64 kB / 1.224 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3735, allocations: 322.8 kB / 1.224 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.3737, allocations: 88.94 kB / 1.224 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.3739, allocations: 177.8 kB / 1.224 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.3743, allocations: 250.9 kB / 1.225 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3743, allocations: 0 / 1.225 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005584/0.3748, allocations: 293.1 kB / 1.225 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3749, allocations: 8 kB / 1.225 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.3749, allocations: 4.469 kB / 1.225 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3749, allocations: 7.938 kB / 1.225 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.3752, allocations: 56.27 kB / 1.225 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3752, allocations: 8 kB / 1.225 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.3755, allocations: 23.97 kB / 1.225 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.3755, allocations: 8 kB / 1.225 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002364/0.3757, allocations: 176.1 kB / 1.225 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002167/0.3759, allocations: 155.1 kB / 1.225 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003305/0.3763, allocations: 230.9 kB / 1.226 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.3763, allocations: 0 / 1.226 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005034/0.3768, allocations: 265.5 kB / 1.226 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.3768, allocations: 10.06 kB / 1.226 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.3768, allocations: 4 kB / 1.226 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.3768, allocations: 7.984 kB / 1.226 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.377, allocations: 55.89 kB / 1.226 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3771, allocations: 7.938 kB / 1.226 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.3773, allocations: 19.98 kB / 1.226 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.3773, allocations: 8 kB / 1.226 GB, free: 4.176 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.3775, allocations: 200.1 kB / 1.226 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.3775, allocations: 19.89 kB / 1.226 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.3778, allocations: 143 kB / 1.226 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3778, allocations: 7.875 kB / 1.226 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.3778, allocations: 0 / 1.226 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3778, allocations: 0 / 1.226 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009928/0.3788, allocations: 0.7197 MB / 1.227 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.3788, allocations: 4 kB / 1.227 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3789, allocations: 23.98 kB / 1.227 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3789, allocations: 352 / 1.227 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3789, allocations: 15.92 kB / 1.227 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3789, allocations: 7.938 kB / 1.227 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3789, allocations: 4 kB / 1.227 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.3793, allocations: 382.3 kB / 1.227 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3794, allocations: 108.9 kB / 1.227 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.3794, allocations: 11.98 kB / 1.227 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.3796, allocations: 11.98 kB / 1.227 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.3797, allocations: 19.88 kB / 1.228 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.3797, allocations: 4 kB / 1.228 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001995/0.3799, allocations: 164.8 kB / 1.228 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3799, allocations: 0 / 1.228 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005109/0.3804, allocations: 68 kB / 1.228 GB, free: 2.121 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.3805, allocations: 115.2 kB / 1.228 GB, free: 2 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005884/0.3811, allocations: 281.3 kB / 1.228 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3811, allocations: 4.125 kB / 1.228 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.681e-05/0.3812, allocations: 55.84 kB / 1.228 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.3817, allocations: 32.14 kB / 1.228 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.3824, allocations: 452.7 kB / 1.229 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.3828, allocations: 0.7402 MB / 1.229 GB, free: 376 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.3829, allocations: 23.42 kB / 1.229 GB, free: 352 kB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.3829, allocations: 0 / 1.229 GB, free: 352 kB / 0.9669 GB Notification: Performance of Templates: time 0.004711/0.3876, allocations: 2.38 MB / 1.232 GB, free: 13.97 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.763881175080314]