Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 113.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002291/0.002291, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.964/2.964, allocations: 0.49 GB / 0.7923 GB, free: 1.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 75.88 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298/1.3, allocations: 176.1 MB / 1.322 GB, free: 24.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004/1.304, allocations: 2.465 MB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002351/1.306, allocations: 1.643 MB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/1.307, allocations: 2.812 kB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006928/1.307, allocations: 173 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003798/1.308, allocations: 155.6 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/1.308, allocations: 189 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002855/1.308, allocations: 225.9 kB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/1.309, allocations: 99.7 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/1.309, allocations: 101.3 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/1.309, allocations: 110.4 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/1.309, allocations: 13.38 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/1.309, allocations: 223.6 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.852e-05/1.31, allocations: 64.22 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/1.31, allocations: 88.27 kB / 1.327 GB, free: 21.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005243/1.31, allocations: 312.6 kB / 1.328 GB, free: 21.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.31, allocations: 0 / 1.328 GB, free: 21.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.438e-06/1.31, allocations: 0.5625 kB / 1.328 GB, free: 21.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.31, allocations: 7.938 kB / 1.328 GB, free: 21.46 MB / 1.061 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.000872/1.311, allocations: 492.3 kB / 1.328 GB, free: 21.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/1.311, allocations: 13.86 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008038/1.312, allocations: 81.73 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/1.312, allocations: 233.2 kB / 1.328 GB, free: 20.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.312, allocations: 14.84 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/1.312, allocations: 21.47 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005785/1.313, allocations: 299.1 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/1.313, allocations: 1.094 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/1.313, allocations: 6.188 kB / 1.329 GB, free: 20.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/1.313, allocations: 20.52 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/1.314, allocations: 222.4 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/1.316, allocations: 1.628 MB / 1.331 GB, free: 19.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/1.316, allocations: 315.4 kB / 1.331 GB, free: 18.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/1.316, allocations: 58.22 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/1.316, allocations: 5.703 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.316, allocations: 36.2 kB / 1.331 GB, free: 18.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/1.316, allocations: 0 / 1.331 GB, free: 18.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0008058/1.317, allocations: 252.5 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/1.317, allocations: 78.23 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/1.318, allocations: 203.3 kB / 1.331 GB, free: 18.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/1.318, allocations: 33.89 kB / 1.332 GB, free: 18.35 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/1.318, allocations: 154.5 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/1.318, allocations: 36.62 kB / 1.332 GB, free: 18.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/1.318, allocations: 54.86 kB / 1.332 GB, free: 18.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/1.318, allocations: 323.3 kB / 1.332 GB, free: 17.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/1.318, allocations: 82.69 kB / 1.332 GB, free: 17.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/1.319, allocations: 166.3 kB / 1.332 GB, free: 17.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/1.319, allocations: 257.1 kB / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.319, allocations: 1.5 kB / 1.333 GB, free: 17.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006327/1.32, allocations: 290 kB / 1.333 GB, free: 17.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/1.32, allocations: 5.781 kB / 1.333 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.32, allocations: 4.469 kB / 1.333 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/1.32, allocations: 12.03 kB / 1.333 GB, free: 17.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/1.32, allocations: 57.2 kB / 1.333 GB, free: 17.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/1.32, allocations: 5 kB / 1.333 GB, free: 17.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/1.32, allocations: 37.31 kB / 1.333 GB, free: 17.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/1.32, allocations: 9.5 kB / 1.333 GB, free: 17.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002812/1.321, allocations: 176 kB / 1.333 GB, free: 17.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002593/1.321, allocations: 166.5 kB / 1.333 GB, free: 17.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003401/1.321, allocations: 228 kB / 1.333 GB, free: 16.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/1.321, allocations: 1.188 kB / 1.333 GB, free: 16.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.00057/1.322, allocations: 268.9 kB / 1.334 GB, free: 16.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.322, allocations: 6.281 kB / 1.334 GB, free: 16.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/1.322, allocations: 3.219 kB / 1.334 GB, free: 16.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/1.322, allocations: 5.406 kB / 1.334 GB, free: 16.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/1.322, allocations: 59.53 kB / 1.334 GB, free: 16.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/1.322, allocations: 9.375 kB / 1.334 GB, free: 16.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/1.322, allocations: 19.22 kB / 1.334 GB, free: 16.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/1.322, allocations: 9.547 kB / 1.334 GB, free: 16.76 MB / 1.061 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.0001148/1.322, allocations: 193.8 kB / 1.334 GB, free: 16.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/1.323, allocations: 14.69 kB / 1.334 GB, free: 16.56 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/1.323, allocations: 149 kB / 1.334 GB, free: 16.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/1.323, allocations: 5.938 kB / 1.334 GB, free: 16.47 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.323, allocations: 1.031 kB / 1.334 GB, free: 16.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.323, allocations: 2.031 kB / 1.334 GB, free: 16.47 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/1.324, allocations: 0.7251 MB / 1.335 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/1.324, allocations: 2.656 kB / 1.335 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/1.324, allocations: 23.5 kB / 1.335 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.324, allocations: 3.375 kB / 1.335 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/1.324, allocations: 8.156 kB / 1.335 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/1.324, allocations: 3.938 kB / 1.335 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.324, allocations: 3.984 kB / 1.335 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/1.325, allocations: 386.3 kB / 1.335 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/1.325, allocations: 109.8 kB / 1.335 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/1.325, allocations: 4.922 kB / 1.335 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/1.325, allocations: 14.69 kB / 1.335 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/1.325, allocations: 20.11 kB / 1.335 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/1.325, allocations: 6 kB / 1.335 GB, free: 15.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002065/1.325, allocations: 159.1 kB / 1.336 GB, free: 15.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.325, allocations: 0 / 1.336 GB, free: 15.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006187/1.326, allocations: 67.38 kB / 1.336 GB, free: 15.34 MB / 1.061 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.0001842/1.326, allocations: 109.4 kB / 1.336 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008175/1.327, allocations: 285.9 kB / 1.336 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.327, allocations: 0.5625 kB / 1.336 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/1.327, allocations: 60.8 kB / 1.336 GB, free: 15.13 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/1.328, allocations: 36 kB / 1.336 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/1.329, allocations: 450.6 kB / 1.337 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/1.329, allocations: 0.7375 MB / 1.337 GB, free: 14.08 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/1.329, allocations: 27.89 kB / 1.337 GB, free: 14.07 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/1.329, allocations: 0 / 1.337 GB, free: 14.07 MB / 1.061 GB Notification: Performance of Templates: time 0.006155/1.335, allocations: 2.367 MB / 1.34 GB, free: 13.88 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.644522561997292]