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) 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.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 108 kB / 15.61 MB, free: 152 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.001991/0.001991, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.608/1.608, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.776/2.776, allocations: 437 MB / 0.7103 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8815/0.8828, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004695/0.8876, allocations: 2.428 MB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003073/0.8907, allocations: 1.586 MB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.8909, allocations: 7.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008028/0.8918, allocations: 167.3 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005144/0.8923, allocations: 151.4 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.8929, allocations: 183.5 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.8933, allocations: 227.2 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.8937, allocations: 121 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.8939, allocations: 83.7 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.8942, allocations: 103.6 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.8942, allocations: 12 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005381/0.8948, allocations: 215.6 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.8949, allocations: 63.86 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.895, allocations: 75.59 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007095/0.8958, allocations: 301.1 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.8958, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.05e-06/0.8958, allocations: 7.938 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.8958, allocations: 3.938 kB / 1.023 GB, free: 12.76 MB / 0.7794 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.001192/0.897, allocations: 475.2 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.8971, allocations: 8.031 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009825/0.8981, allocations: 88.55 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.8985, allocations: 230 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.8985, allocations: 16.66 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.8986, allocations: 16.36 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.8992, allocations: 279.6 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.8992, allocations: 8 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.8992, allocations: 7.984 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.532e-05/0.8993, allocations: 16.23 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000444/0.8998, allocations: 224.4 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.9017, allocations: 1.603 MB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.9021, allocations: 323.2 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.9022, allocations: 65.67 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.9023, allocations: 4.141 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.9023, allocations: 38.56 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.9023, allocations: 3.938 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005949/0.9029, allocations: 244.4 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.903, allocations: 85.3 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.9032, allocations: 207.4 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.9033, allocations: 25.7 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/0.9034, allocations: 155.6 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.9034, allocations: 39.53 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.9035, allocations: 53.59 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.9036, allocations: 326.8 kB / 1.027 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.9038, allocations: 76.81 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.904, allocations: 160.6 kB / 1.027 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.9043, allocations: 234.9 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9043, allocations: 0 / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000556/0.9049, allocations: 273.2 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.9049, allocations: 4 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.905, allocations: 11.98 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.905, allocations: 8.312 kB / 1.028 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.9053, allocations: 55.91 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.9053, allocations: 4 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.9055, allocations: 27.88 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.9056, allocations: 12 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002144/0.9058, allocations: 168.1 kB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001939/0.906, allocations: 153 kB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000283/0.9063, allocations: 219.8 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.9063, allocations: 4 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004512/0.9067, allocations: 257.4 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.9068, allocations: 10.02 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9068, allocations: 4 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/0.9068, allocations: 4 kB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.907, allocations: 51.91 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.907, allocations: 11.88 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.9072, allocations: 28.11 kB / 1.029 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.9073, allocations: 12 kB / 1.029 GB, free: 5.957 MB / 0.7794 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.0001292/0.9074, allocations: 196.2 kB / 1.029 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.9075, allocations: 11.91 kB / 1.029 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.9077, allocations: 135 kB / 1.029 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.9077, allocations: 7.938 kB / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.9078, allocations: 0 / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.9078, allocations: 0 / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.9088, allocations: 0.7353 MB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.9088, allocations: 4 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.9089, allocations: 19.98 kB / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.9089, allocations: 11.92 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.9089, allocations: 4 kB / 1.03 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.9089, allocations: 4 kB / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9089, allocations: 7.938 kB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.9093, allocations: 386.2 kB / 1.03 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/0.9094, allocations: 104.9 kB / 1.03 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.9094, allocations: 4 kB / 1.03 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.9096, allocations: 15.98 kB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.9097, allocations: 7.938 kB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.9097, allocations: 8 kB / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001847/0.9099, allocations: 164.8 kB / 1.031 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9099, allocations: 0 / 1.031 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005207/0.9104, allocations: 68 kB / 1.031 GB, free: 3.93 MB / 0.7794 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.0001869/0.9106, allocations: 107.2 kB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005517/0.9112, allocations: 292 kB / 1.031 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9112, allocations: 0 / 1.031 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.9113, allocations: 61.33 kB / 1.031 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.9118, allocations: 36.61 kB / 1.031 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/0.9126, allocations: 414.9 kB / 1.032 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.9129, allocations: 0.7363 MB / 1.032 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002407/0.9132, allocations: 74.02 kB / 1.032 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.9132, allocations: 19.42 kB / 1.032 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.9132, allocations: 0 / 1.032 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of Templates: time 0.005416/0.9186, allocations: 1.89 MB / 1.034 GB, free: 252 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches