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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007628/0.007628, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.00177/0.00177, allocations: 188.6 kB / 16.79 MB, free: 5.805 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.348/1.348, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.373/2.373, allocations: 390.2 MB / 0.6649 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 59.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7354, allocations: 140.3 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003295/0.7387, allocations: 2.488 MB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.7409, allocations: 1.589 MB / 0.9536 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.741, allocations: 2.062 kB / 0.9536 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.7416, allocations: 154.5 kB / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.7419, allocations: 140.5 kB / 0.9538 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.7423, allocations: 166 kB / 0.954 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.7426, allocations: 318.6 kB / 0.9543 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.7429, allocations: 128.7 kB / 0.9544 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.743, allocations: 75.58 kB / 0.9545 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.7432, allocations: 106.8 kB / 0.9546 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.7433, allocations: 8.156 kB / 0.9546 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.7436, allocations: 256.3 kB / 0.9549 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.846e-05/0.7437, allocations: 59.41 kB / 0.9549 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/0.7438, allocations: 80.86 kB / 0.955 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.7441, allocations: 226.7 kB / 0.9552 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7441, allocations: 0 / 0.9552 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7441, allocations: 0 / 0.9552 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.7441, allocations: 0 / 0.9552 GB, free: 4.914 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.0008493/0.7449, allocations: 481.6 kB / 0.9557 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.745, allocations: 8.938 kB / 0.9557 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008293/0.7458, allocations: 88.14 kB / 0.9558 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.7461, allocations: 231.2 kB / 0.956 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.7461, allocations: 12.17 kB / 0.956 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.7462, allocations: 19.11 kB / 0.956 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.7467, allocations: 285.2 kB / 0.9563 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.7467, allocations: 5.156 kB / 0.9563 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.7468, allocations: 10.52 kB / 0.9563 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.7468, allocations: 20.88 kB / 0.9563 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.7472, allocations: 223.8 kB / 0.9565 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.7488, allocations: 1.597 MB / 0.9581 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.7491, allocations: 322.7 kB / 0.9584 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.982e-05/0.7492, allocations: 68.73 kB / 0.9585 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.7492, allocations: 5.922 kB / 0.9585 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.7492, allocations: 32.34 kB / 0.9585 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.7493, allocations: 0 / 0.9585 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005233/0.7498, allocations: 246.3 kB / 0.9587 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.7498, allocations: 83.8 kB / 0.9588 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.75, allocations: 200.9 kB / 0.959 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.7501, allocations: 31.08 kB / 0.959 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.7501, allocations: 157.1 kB / 0.9592 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.7502, allocations: 37.03 kB / 0.9592 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.7502, allocations: 55.47 kB / 0.9593 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.7503, allocations: 323 kB / 0.9596 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.7505, allocations: 86.97 kB / 0.9597 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.7506, allocations: 152.8 kB / 0.9598 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.7509, allocations: 240.2 kB / 0.96 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7509, allocations: 1.281 kB / 0.96 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000476/0.7514, allocations: 272.5 kB / 0.9603 GB, free: 400 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.7515, allocations: 9.531 kB / 0.9603 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.7515, allocations: 3.125 kB / 0.9603 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.7515, allocations: 8.219 kB / 0.9603 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.7518, allocations: 55.42 kB / 0.9604 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.7518, allocations: 8.438 kB / 0.9604 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.752, allocations: 31.44 kB / 0.9604 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.7521, allocations: 9.094 kB / 0.9604 GB, free: 352 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001896/0.7523, allocations: 167.5 kB / 0.9606 GB, free: 224 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001613/0.7524, allocations: 157.8 kB / 0.9607 GB, free: 64 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000308/0.7528, allocations: 219.7 kB / 0.9609 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.7528, allocations: 1.062 kB / 0.9609 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004722/0.7532, allocations: 251 kB / 0.9612 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.7533, allocations: 6.125 kB / 0.9612 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7533, allocations: 7.297 kB / 0.9612 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.152e-06/0.7533, allocations: 4.188 kB / 0.9612 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.7535, allocations: 54.11 kB / 0.9612 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.7535, allocations: 7.844 kB / 0.9613 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.7538, allocations: 22.95 kB / 0.9613 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.7538, allocations: 8.25 kB / 0.9613 GB, free: 15.7 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.0001138/0.7539, allocations: 203.1 kB / 0.9615 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.754, allocations: 18.17 kB / 0.9615 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.7542, allocations: 147 kB / 0.9616 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.7543, allocations: 5.5 kB / 0.9616 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.7543, allocations: 0.875 kB / 0.9616 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7543, allocations: 0.7188 kB / 0.9616 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009658/0.7552, allocations: 0.7265 MB / 0.9624 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7553, allocations: 3.25 kB / 0.9624 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.7554, allocations: 30.23 kB / 0.9624 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.7554, allocations: 4 kB / 0.9624 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.7554, allocations: 3.812 kB / 0.9624 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.7554, allocations: 10.33 kB / 0.9624 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7554, allocations: 3.688 kB / 0.9624 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.7557, allocations: 377.4 kB / 0.9628 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.7559, allocations: 100.5 kB / 0.9629 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.7559, allocations: 11.67 kB / 0.9629 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.7561, allocations: 10.55 kB / 0.9629 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.7562, allocations: 22.09 kB / 0.9629 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.7562, allocations: 5.406 kB / 0.9629 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001771/0.7564, allocations: 158.8 kB / 0.9631 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7564, allocations: 4 kB / 0.9631 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00054/0.7569, allocations: 73.81 kB / 0.9631 GB, free: 14.11 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.0001502/0.7571, allocations: 108.4 kB / 0.9632 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005314/0.7576, allocations: 279.2 kB / 0.9635 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.7576, allocations: 1.156 kB / 0.9635 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.7577, allocations: 61.22 kB / 0.9636 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.7582, allocations: 35.66 kB / 0.9636 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.759, allocations: 0.5057 MB / 0.9641 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.7593, allocations: 0.7382 MB / 0.9648 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.7594, allocations: 22.89 kB / 0.9648 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.7594, allocations: 0 / 0.9648 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of Templates: time 0.004415/0.7638, allocations: 2.312 MB / 0.9671 GB, free: 11.48 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/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