Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001468/0.001468, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001998/0.001998, allocations: 200.5 kB / 16.26 MB, free: 6.625 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.504/1.504, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.546/2.546, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002044, allocations: 55.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005175/1.028, allocations: 2.484 MB / 0.9515 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00267/1.03, allocations: 1.556 MB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/1.03, allocations: 6.281 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005943/1.031, allocations: 164.9 kB / 0.9532 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003602/1.031, allocations: 137.3 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/1.032, allocations: 178.6 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002313/1.032, allocations: 217.2 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/1.032, allocations: 132.6 kB / 0.9538 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/1.032, allocations: 90.17 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/1.033, allocations: 109.8 kB / 0.954 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/1.033, allocations: 11.59 kB / 0.954 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/1.033, allocations: 213.6 kB / 0.9543 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.674e-05/1.033, allocations: 70.45 kB / 0.9543 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/1.033, allocations: 73.7 kB / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003859/1.034, allocations: 320.6 kB / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.034, allocations: 1.375 kB / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/1.034, allocations: 0 / 0.9547 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.034, allocations: 0 / 0.9547 GB, free: 4.934 MB / 0.7169 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.0006725/1.034, allocations: 474 kB / 0.9551 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.034, allocations: 8.312 kB / 0.9552 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007284/1.035, allocations: 93.31 kB / 0.9552 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/1.035, allocations: 229.1 kB / 0.9555 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/1.035, allocations: 13.41 kB / 0.9555 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/1.035, allocations: 14.09 kB / 0.9555 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/1.036, allocations: 294 kB / 0.9558 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/1.036, allocations: 1.094 kB / 0.9558 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/1.036, allocations: 6.312 kB / 0.9558 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/1.036, allocations: 25.44 kB / 0.9558 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/1.036, allocations: 223.4 kB / 0.956 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/1.038, allocations: 1.597 MB / 0.9576 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/1.038, allocations: 329.8 kB / 0.9579 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.13e-05/1.038, allocations: 57.19 kB / 0.9579 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/1.038, allocations: 1.375 kB / 0.9579 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/1.038, allocations: 47.86 kB / 0.958 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/1.038, allocations: 1.375 kB / 0.958 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005151/1.039, allocations: 242 kB / 0.9582 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/1.039, allocations: 83.22 kB / 0.9583 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/1.039, allocations: 200.3 kB / 0.9585 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/1.039, allocations: 31.11 kB / 0.9585 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/1.039, allocations: 161 kB / 0.9587 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/1.039, allocations: 37.02 kB / 0.9587 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.176e-05/1.039, allocations: 48.8 kB / 0.9588 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.386e-05/1.039, allocations: 325.9 kB / 0.9591 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/1.039, allocations: 83.64 kB / 0.9591 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/1.04, allocations: 163.6 kB / 0.9593 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/1.04, allocations: 229.3 kB / 0.9595 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.04, allocations: 0.75 kB / 0.9595 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004669/1.04, allocations: 272.4 kB / 0.9598 GB, free: 424 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.04, allocations: 6.25 kB / 0.9598 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/1.04, allocations: 7.219 kB / 0.9598 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.04, allocations: 8.062 kB / 0.9598 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/1.041, allocations: 59.27 kB / 0.9599 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.041, allocations: 4.344 kB / 0.9599 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/1.041, allocations: 19.02 kB / 0.9599 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/1.041, allocations: 21.8 kB / 0.9599 GB, free: 376 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001752/1.041, allocations: 167.6 kB / 0.9601 GB, free: 248 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001533/1.041, allocations: 149.8 kB / 0.9602 GB, free: 96 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002767/1.042, allocations: 223.1 kB / 0.9604 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/1.042, allocations: 0.875 kB / 0.9604 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004403/1.042, allocations: 243 kB / 0.9607 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/1.042, allocations: 9.781 kB / 0.9607 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/1.042, allocations: 4.469 kB / 0.9607 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/1.042, allocations: 8.219 kB / 0.9607 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/1.042, allocations: 53.19 kB / 0.9607 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.042, allocations: 16.58 kB / 0.9607 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/1.043, allocations: 22.11 kB / 0.9608 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/1.043, allocations: 12.72 kB / 0.9608 GB, free: 15.72 MB / 0.7325 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.0001071/1.043, allocations: 194.5 kB / 0.961 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/1.043, allocations: 19.34 kB / 0.961 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/1.043, allocations: 146 kB / 0.9611 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.043, allocations: 6.547 kB / 0.9611 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.043, allocations: 3.984 kB / 0.9611 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.043, allocations: 1.375 kB / 0.9611 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009661/1.044, allocations: 0.7264 MB / 0.9618 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.044, allocations: 2.375 kB / 0.9618 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/1.044, allocations: 22.08 kB / 0.9619 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.319e-06/1.044, allocations: 4.5 kB / 0.9619 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/1.044, allocations: 3.531 kB / 0.9619 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/1.044, allocations: 15.34 kB / 0.9619 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.044, allocations: 2.469 kB / 0.9619 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/1.045, allocations: 390.5 kB / 0.9623 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.483e-05/1.045, allocations: 99.5 kB / 0.9624 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/1.045, allocations: 4.156 kB / 0.9624 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.045, allocations: 14.64 kB / 0.9624 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/1.045, allocations: 17.7 kB / 0.9624 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/1.045, allocations: 5.062 kB / 0.9624 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001999/1.045, allocations: 168.7 kB / 0.9626 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.045, allocations: 0 / 0.9626 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005433/1.046, allocations: 70.59 kB / 0.9626 GB, free: 14.14 MB / 0.7325 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.0001777/1.046, allocations: 108 kB / 0.9627 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006091/1.047, allocations: 281 kB / 0.963 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.047, allocations: 384 / 0.963 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.358e-05/1.047, allocations: 64.97 kB / 0.9631 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/1.047, allocations: 30.06 kB / 0.9631 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/1.048, allocations: 486.1 kB / 0.9635 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/1.048, allocations: 0.7387 MB / 0.9643 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002627/1.049, allocations: 78.61 kB / 0.9643 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/1.049, allocations: 21.47 kB / 0.9644 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/1.049, allocations: 0 / 0.9644 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.006574/1.055, allocations: 1.867 MB / 0.9662 GB, free: 11.77 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches