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.009539/0.009539, allocations: 105.4 kB / 15.74 MB, free: 6.023 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.002415/0.002415, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.267/2.267, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.07, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004237/1.074, allocations: 2.432 MB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002682/1.077, allocations: 1.587 MB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/1.077, allocations: 2.469 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007421/1.078, allocations: 172.7 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004344/1.078, allocations: 147.3 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/1.078, allocations: 196.9 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003614/1.079, allocations: 216.7 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/1.079, allocations: 112.7 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/1.079, allocations: 85.34 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/1.08, allocations: 111.6 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/1.08, allocations: 11.94 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/1.08, allocations: 205.8 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/1.08, allocations: 66.77 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/1.081, allocations: 82.77 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005803/1.081, allocations: 301.1 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.081, allocations: 0 / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/1.081, allocations: 0.7188 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.222e-05/1.081, allocations: 0 / 1.093 GB, free: 2.066 MB / 0.8575 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.000802/1.082, allocations: 487.1 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/1.082, allocations: 9.719 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008624/1.083, allocations: 93.88 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/1.083, allocations: 227 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/1.083, allocations: 18.92 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/1.083, allocations: 12.91 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/1.084, allocations: 293.6 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/1.084, allocations: 1 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/1.084, allocations: 13.95 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.061e-05/1.084, allocations: 16 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000521/1.084, allocations: 222.9 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/1.086, allocations: 1.593 MB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/1.087, allocations: 320.4 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/1.087, allocations: 63.94 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/1.087, allocations: 5.422 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/1.087, allocations: 39.8 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/1.087, allocations: 0 / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0007092/1.088, allocations: 243.9 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/1.088, allocations: 83.86 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/1.088, allocations: 201.4 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/1.088, allocations: 29.7 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/1.088, allocations: 163.4 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/1.088, allocations: 39.47 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/1.089, allocations: 55.25 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.089, allocations: 322.5 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/1.089, allocations: 84.67 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/1.089, allocations: 154.7 kB / 1.098 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/1.09, allocations: 242 kB / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.09, allocations: 1.125 kB / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005607/1.09, allocations: 271.4 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.09, allocations: 6.469 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.09, allocations: 3.734 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/1.09, allocations: 8.031 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/1.091, allocations: 53.31 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/1.091, allocations: 8.891 kB / 1.099 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/1.091, allocations: 29.22 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/1.091, allocations: 14.95 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002426/1.091, allocations: 171.5 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002597/1.091, allocations: 152.7 kB / 1.099 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003219/1.092, allocations: 218.8 kB / 1.099 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/1.092, allocations: 1.906 kB / 1.099 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005121/1.092, allocations: 246.2 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.092, allocations: 6.219 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.092, allocations: 7.938 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.034e-06/1.092, allocations: 8.531 kB / 1.099 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/1.093, allocations: 54.59 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/1.093, allocations: 8.75 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/1.093, allocations: 30.25 kB / 1.1 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/1.093, allocations: 11.44 kB / 1.1 GB, free: 13.39 MB / 0.8731 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.0001243/1.093, allocations: 194.8 kB / 1.1 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/1.093, allocations: 15.17 kB / 1.1 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/1.093, allocations: 152.8 kB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.093, allocations: 5.469 kB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.093, allocations: 1.688 kB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.093, allocations: 0.8906 kB / 1.1 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/1.095, allocations: 0.7185 MB / 1.101 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.095, allocations: 2.75 kB / 1.101 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/1.095, allocations: 35.64 kB / 1.101 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/1.095, allocations: 7.344 kB / 1.101 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/1.095, allocations: 3.688 kB / 1.101 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/1.095, allocations: 5.406 kB / 1.101 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.095, allocations: 6.125 kB / 1.101 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/1.095, allocations: 375.5 kB / 1.101 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/1.095, allocations: 109 kB / 1.101 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/1.095, allocations: 9.094 kB / 1.101 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/1.096, allocations: 10.84 kB / 1.101 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/1.096, allocations: 24.36 kB / 1.101 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/1.096, allocations: 5.312 kB / 1.101 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002327/1.096, allocations: 159.4 kB / 1.101 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.2e-07/1.096, allocations: 0 / 1.101 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005824/1.097, allocations: 70.09 kB / 1.101 GB, free: 11.97 MB / 0.8731 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.0002252/1.097, allocations: 115.4 kB / 1.102 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007289/1.098, allocations: 284.9 kB / 1.102 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.098, allocations: 0.6875 kB / 1.102 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/1.098, allocations: 62.84 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/1.098, allocations: 35.55 kB / 1.102 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009341/1.099, allocations: 424.1 kB / 1.102 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/1.1, allocations: 0.7376 MB / 1.103 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002846/1.1, allocations: 80.55 kB / 1.103 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/1.1, allocations: 17.52 kB / 1.103 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of SimCode: time 4.51e-07/1.1, allocations: 0 / 1.103 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of Templates: time 0.008088/1.108, allocations: 1.918 MB / 1.105 GB, free: 10.56 MB / 0.8731 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