Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.251/2.251, allocations: 390.5 MB / 398 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 173 kB / 491.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 87.91 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.449e-05/1.451e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3029, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.332, allocations: 168.7 MB / 1.377 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.332, allocations: 97.64 kB / 1.377 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02759/1.36, allocations: 13.03 MB / 1.39 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/1.36, allocations: 0 / 1.39 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.648e-05/1.36, allocations: 7.875 kB / 1.39 GB, free: 29.6 MB / 0.8386 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.0007268/1.361, allocations: 467.4 kB / 1.39 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.361, allocations: 7.688 kB / 1.39 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006464/1.361, allocations: 61.31 kB / 1.39 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/1.362, allocations: 231.8 kB / 1.391 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/1.362, allocations: 3.75 kB / 1.391 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/1.362, allocations: 7.688 kB / 1.391 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000271/1.362, allocations: 153.3 kB / 1.391 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/1.362, allocations: 257.1 kB / 1.391 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/1.362, allocations: 3.719 kB / 1.391 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/1.362, allocations: 0 / 1.391 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/1.362, allocations: 11.14 kB / 1.391 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/1.364, allocations: 1.545 MB / 1.393 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/1.364, allocations: 78.59 kB / 1.393 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/1.364, allocations: 40.39 kB / 1.393 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/1.364, allocations: 0 / 1.393 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/1.364, allocations: 34.55 kB / 1.393 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/1.364, allocations: 0 / 1.393 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0004849/1.365, allocations: 172.2 kB / 1.393 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/1.365, allocations: 81.2 kB / 1.393 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/1.365, allocations: 199.8 kB / 1.393 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/1.365, allocations: 25.7 kB / 1.393 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/1.365, allocations: 161.1 kB / 1.393 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/1.365, allocations: 33.86 kB / 1.393 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/1.365, allocations: 0 / 1.393 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/1.365, allocations: 322.2 kB / 1.394 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.236e-05/1.365, allocations: 72.62 kB / 1.394 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/1.365, allocations: 155.8 kB / 1.394 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/1.366, allocations: 104.7 kB / 1.394 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.366, allocations: 0 / 1.394 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003878/1.366, allocations: 259 kB / 1.394 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004835/1.366, allocations: 1.131 MB / 1.395 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.366, allocations: 11.83 kB / 1.395 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/1.367, allocations: 3.844 kB / 1.395 GB, free: 25.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/1.367, allocations: 50.34 kB / 1.395 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.367, allocations: 11.72 kB / 1.395 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/1.367, allocations: 23.22 kB / 1.395 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/1.367, allocations: 11.12 kB / 1.395 GB, free: 25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.709e-06/1.367, allocations: 3.781 kB / 1.395 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002982/1.367, allocations: 196 kB / 1.396 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/1.367, allocations: 0 / 1.396 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/1.367, allocations: 11.66 kB / 1.396 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/1.367, allocations: 41.81 kB / 1.396 GB, free: 24.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/1.368, allocations: 11.5 kB / 1.396 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/1.368, allocations: 15.69 kB / 1.396 GB, free: 24.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/1.368, allocations: 14.98 kB / 1.396 GB, free: 24.92 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.098e-05/1.368, allocations: 113.2 kB / 1.396 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/1.368, allocations: 11.66 kB / 1.396 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/1.368, allocations: 118.8 kB / 1.396 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.368, allocations: 4.031 kB / 1.396 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.368, allocations: 0 / 1.396 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.368, allocations: 0 / 1.396 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005912/1.369, allocations: 0.5832 MB / 1.396 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.369, allocations: 0 / 1.396 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.041e-05/1.369, allocations: 19.36 kB / 1.397 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/1.369, allocations: 3.844 kB / 1.397 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/1.369, allocations: 3.953 kB / 1.397 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.369, allocations: 3.844 kB / 1.397 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.369, allocations: 4.188 kB / 1.397 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/1.369, allocations: 400.2 kB / 1.397 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/1.369, allocations: 103.8 kB / 1.397 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/1.369, allocations: 7.828 kB / 1.397 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/1.369, allocations: 11.83 kB / 1.397 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/1.369, allocations: 11.09 kB / 1.397 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/1.369, allocations: 7.719 kB / 1.397 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001172/1.369, allocations: 153 kB / 1.397 GB, free: 23.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.369, allocations: 0 / 1.397 GB, free: 23.65 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005089/1.37, allocations: 81.17 kB / 1.397 GB, free: 23.64 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001694/1.37, allocations: 114.3 kB / 1.397 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003319/1.371, allocations: 258.7 kB / 1.398 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.371, allocations: 0 / 1.398 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/1.371, allocations: 43.44 kB / 1.398 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/1.371, allocations: 31.59 kB / 1.398 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/1.371, allocations: 268.1 kB / 1.398 GB, free: 23.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/1.372, allocations: 0.7456 MB / 1.399 GB, free: 22.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001992/1.372, allocations: 67.88 kB / 1.399 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/1.372, allocations: 19.23 kB / 1.399 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.372, allocations: 0 / 1.399 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.003842/1.376, allocations: 1.593 MB / 1.4 GB, free: 21.75 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches