Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001427/0.001427, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 437 MB / 0.7106 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 63.88 kB / 0.8692 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.6839, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004278/0.6882, allocations: 2.493 MB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002593/0.6908, allocations: 1.586 MB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.691, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006992/0.6917, allocations: 167.4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.6922, allocations: 139.5 kB / 1.022 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.6927, allocations: 167.6 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.6931, allocations: 319.1 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.6935, allocations: 117 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.6937, allocations: 75.7 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.694, allocations: 111.6 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.694, allocations: 8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.6945, allocations: 247.5 kB / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.6946, allocations: 55.88 kB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.6947, allocations: 87.52 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.6951, allocations: 221.5 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.6951, allocations: 4 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6951, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.6951, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 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.000816/0.6959, allocations: 479.1 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.696, allocations: 12.03 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008224/0.6968, allocations: 88.55 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.6971, allocations: 232 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.6971, allocations: 8.656 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.6972, allocations: 20.3 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.6977, allocations: 295.6 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.6977, allocations: 0 / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.6977, allocations: 8 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.6978, allocations: 16.22 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/0.6982, allocations: 222.1 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.7001, allocations: 1.603 MB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.7005, allocations: 323.2 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.7006, allocations: 69.69 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.7006, allocations: 0 / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.7006, allocations: 34.55 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.7006, allocations: 0 / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0006103/0.7013, allocations: 252.5 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.7013, allocations: 81.09 kB / 1.027 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.7016, allocations: 207.4 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.7016, allocations: 29.7 kB / 1.027 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.7017, allocations: 155.8 kB / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.7018, allocations: 35.55 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.691e-05/0.7019, allocations: 49.61 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.702, allocations: 330.9 kB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.7022, allocations: 84.8 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.7024, allocations: 161.5 kB / 1.028 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.7027, allocations: 230.9 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7027, allocations: 0 / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005056/0.7032, allocations: 277.1 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.7033, allocations: 8 kB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7033, allocations: 384 / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.7033, allocations: 11.94 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.7036, allocations: 55.89 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.7036, allocations: 4 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.7039, allocations: 20.11 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.7039, allocations: 15.98 kB / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002045/0.7041, allocations: 172 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001866/0.7043, allocations: 152.6 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002786/0.7046, allocations: 223.8 kB / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.456e-06/0.7046, allocations: 0 / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004634/0.7051, allocations: 249.2 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7051, allocations: 8 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7051, allocations: 4 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/0.7051, allocations: 4 kB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.7053, allocations: 47.91 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.7053, allocations: 15.86 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.7056, allocations: 32.2 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.7056, allocations: 11.94 kB / 1.029 GB, free: 6.137 MB / 0.7794 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.0001142/0.7057, allocations: 196 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.7058, allocations: 11.91 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.706, allocations: 146.9 kB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.7061, allocations: 3.938 kB / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.7061, allocations: 4 kB / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7061, allocations: 4 kB / 1.029 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009501/0.707, allocations: 0.7236 MB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.707, allocations: 0 / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.7072, allocations: 27.92 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.7072, allocations: 4 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.7072, allocations: 4 kB / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7072, allocations: 0 / 1.03 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7072, allocations: 7.938 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.7076, allocations: 394.6 kB / 1.03 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.7077, allocations: 104.9 kB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.7077, allocations: 4 kB / 1.031 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.7079, allocations: 15.92 kB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.708, allocations: 19.86 kB / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.708, allocations: 4 kB / 1.031 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000171/0.7081, allocations: 160.8 kB / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7081, allocations: 0 / 1.031 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005281/0.7087, allocations: 72 kB / 1.031 GB, free: 4.102 MB / 0.7794 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.0001536/0.7088, allocations: 107.2 kB / 1.031 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.7094, allocations: 276 kB / 1.031 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7094, allocations: 0 / 1.031 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.014e-05/0.7095, allocations: 61.16 kB / 1.031 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.71, allocations: 35.34 kB / 1.031 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.7108, allocations: 0.5158 MB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.7111, allocations: 0.7285 MB / 1.033 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.7112, allocations: 23.42 kB / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7112, allocations: 0 / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.00455/0.7157, allocations: 2.318 MB / 1.035 GB, free: 15.95 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches