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.001523/0.001523, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001726/0.001726, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.08 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.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8894/0.891, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003757/0.8948, allocations: 2.431 MB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.8975, allocations: 1.576 MB / 1.093 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.8976, allocations: 2.688 kB / 1.093 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000674/0.8983, allocations: 184.2 kB / 1.093 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.8988, allocations: 149.9 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.8993, allocations: 190.5 kB / 1.093 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.8997, allocations: 215.3 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.9, allocations: 119.8 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.9002, allocations: 85.69 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.9005, allocations: 103.4 kB / 1.094 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.9005, allocations: 12.34 kB / 1.094 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004492/0.901, allocations: 213.1 kB / 1.094 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.9011, allocations: 66.91 kB / 1.094 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.568e-05/0.9012, allocations: 78.48 kB / 1.094 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.9017, allocations: 303.2 kB / 1.094 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9017, allocations: 0 / 1.094 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9017, allocations: 0.9062 kB / 1.094 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.9017, allocations: 0 / 1.094 GB, free: 2.328 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.0007072/0.9024, allocations: 475.4 kB / 1.095 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.9025, allocations: 9.453 kB / 1.095 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008034/0.9033, allocations: 93.05 kB / 1.095 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.9035, allocations: 231.4 kB / 1.095 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.9036, allocations: 14.75 kB / 1.095 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.9036, allocations: 9.188 kB / 1.095 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.9041, allocations: 297.1 kB / 1.095 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.9042, allocations: 9.141 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.9042, allocations: 5.906 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-05/0.9043, allocations: 17.03 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004624/0.9047, allocations: 226.2 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.9064, allocations: 1.59 MB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.9068, allocations: 323.3 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.9069, allocations: 63.44 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.907, allocations: 2 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.907, allocations: 31.72 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.907, allocations: 0 / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006262/0.9076, allocations: 251.2 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.9077, allocations: 83.48 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.908, allocations: 201.7 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.908, allocations: 34.36 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.9081, allocations: 158.8 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.9082, allocations: 31.42 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.9083, allocations: 54.59 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9084, allocations: 327.4 kB / 1.099 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.9086, allocations: 83.78 kB / 1.099 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.9089, allocations: 155.4 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.9093, allocations: 237.7 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9093, allocations: 1.062 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005263/0.9098, allocations: 271.8 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.9098, allocations: 6 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.9098, allocations: 4.25 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.9099, allocations: 12.12 kB / 1.099 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.9101, allocations: 52.7 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.9102, allocations: 9.734 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.9104, allocations: 21.53 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.9104, allocations: 13.53 kB / 1.099 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002435/0.9107, allocations: 168.1 kB / 1.1 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000197/0.9109, allocations: 156 kB / 1.1 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003157/0.9112, allocations: 219.2 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.9112, allocations: 1.156 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004837/0.9117, allocations: 253.8 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.9117, allocations: 6.75 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9118, allocations: 3.828 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/0.9118, allocations: 4.375 kB / 1.1 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.912, allocations: 50.69 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.912, allocations: 9.812 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.9122, allocations: 30.39 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.9123, allocations: 9.484 kB / 1.1 GB, free: 13.68 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.0001233/0.9124, allocations: 200.4 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.9125, allocations: 14.34 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.9128, allocations: 149.2 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.9128, allocations: 5.25 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9128, allocations: 1.578 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.9128, allocations: 5.516 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.9139, allocations: 0.7146 MB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.9139, allocations: 6.781 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.914, allocations: 31.19 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.914, allocations: 3.812 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.914, allocations: 3.25 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.914, allocations: 4.359 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.9141, allocations: 2.922 kB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.9144, allocations: 383.6 kB / 1.102 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.9145, allocations: 109.5 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.9146, allocations: 8.828 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.9148, allocations: 10.31 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.9148, allocations: 20.59 kB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.9148, allocations: 9.516 kB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002039/0.915, allocations: 163.2 kB / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.915, allocations: 0 / 1.102 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005444/0.9156, allocations: 73.56 kB / 1.102 GB, free: 12.25 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.0001506/0.9158, allocations: 109.3 kB / 1.102 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006073/0.9164, allocations: 284.3 kB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9164, allocations: 0 / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.9165, allocations: 59.45 kB / 1.103 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.917, allocations: 37.77 kB / 1.103 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/0.9178, allocations: 459.6 kB / 1.103 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.9181, allocations: 0.7322 MB / 1.104 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.9182, allocations: 24.5 kB / 1.104 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9182, allocations: 0 / 1.104 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.006388/0.9246, allocations: 2.342 MB / 1.106 GB, free: 10.79 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/jenkins1/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