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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 114.7 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 193.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 245.7 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.76/2.76, allocations: 437.1 MB / 0.7177 GB, free: 4.492 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=2500,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=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.91 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3141, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004181/0.3184, allocations: 2.431 MB / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002723/0.3211, allocations: 1.575 MB / 1.18 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3213, allocations: 0 / 1.18 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000733/0.322, allocations: 179.3 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.3225, allocations: 151.3 kB / 1.18 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.323, allocations: 187.5 kB / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.3234, allocations: 227.3 kB / 1.18 GB, free: 1.133 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.3237, allocations: 117 kB / 1.181 GB, free: 1.016 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.3238, allocations: 99.61 kB / 1.181 GB, free: 0.918 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.3241, allocations: 107.6 kB / 1.181 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.3241, allocations: 16 kB / 1.181 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.3245, allocations: 215.6 kB / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/0.3246, allocations: 63.88 kB / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.3248, allocations: 83.53 kB / 1.181 GB, free: 452 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.3252, allocations: 303 kB / 1.181 GB, free: 148 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3253, allocations: 0 / 1.181 GB, free: 148 kB / 0.92 GB Notification: Performance of FrontEnd: time 7.113e-06/0.3253, allocations: 3.984 kB / 1.181 GB, free: 144 kB / 0.92 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.3253, allocations: 3.938 kB / 1.181 GB, free: 140 kB / 0.92 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.0008872/0.3262, allocations: 489.9 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3262, allocations: 12.03 kB / 1.182 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008038/0.327, allocations: 92.67 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.3274, allocations: 232.1 kB / 1.182 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3274, allocations: 12.66 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.3275, allocations: 12.38 kB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.328, allocations: 300.5 kB / 1.183 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.328, allocations: 4 kB / 1.183 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.3281, allocations: 7.938 kB / 1.183 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.3281, allocations: 20.22 kB / 1.183 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.3286, allocations: 224.4 kB / 1.183 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.3307, allocations: 1.634 MB / 1.184 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.3311, allocations: 319.3 kB / 1.185 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3312, allocations: 69.61 kB / 1.185 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3313, allocations: 0 / 1.185 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3313, allocations: 30.56 kB / 1.185 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.3313, allocations: 4 kB / 1.185 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006211/0.332, allocations: 249.1 kB / 1.185 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.332, allocations: 81.11 kB / 1.185 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.3323, allocations: 207.4 kB / 1.185 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3323, allocations: 25.7 kB / 1.185 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3325, allocations: 159.9 kB / 1.185 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.3325, allocations: 43.81 kB / 1.186 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.3326, allocations: 53.69 kB / 1.186 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3328, allocations: 326.8 kB / 1.186 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.333, allocations: 88.8 kB / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.3332, allocations: 163 kB / 1.186 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.3336, allocations: 250.9 kB / 1.186 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3337, allocations: 0 / 1.186 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005483/0.3342, allocations: 289.4 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3342, allocations: 12.06 kB / 1.187 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3342, allocations: 4 kB / 1.187 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.3343, allocations: 4 kB / 1.187 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.3346, allocations: 60.02 kB / 1.187 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3346, allocations: 7.938 kB / 1.187 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.3349, allocations: 31.86 kB / 1.187 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.3349, allocations: 16 kB / 1.187 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002422/0.3351, allocations: 172.1 kB / 1.187 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002345/0.3354, allocations: 152.9 kB / 1.187 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003325/0.3357, allocations: 226.9 kB / 1.187 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.3357, allocations: 0 / 1.187 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004971/0.3362, allocations: 261.2 kB / 1.188 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.3363, allocations: 6.031 kB / 1.188 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3363, allocations: 7.984 kB / 1.188 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-06/0.3363, allocations: 4 kB / 1.188 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.3366, allocations: 59.89 kB / 1.188 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3366, allocations: 8.312 kB / 1.188 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.3368, allocations: 27.94 kB / 1.188 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3368, allocations: 8.469 kB / 1.188 GB, free: 9.203 MB / 0.9356 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.0001447/0.337, allocations: 200.1 kB / 1.188 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.3371, allocations: 15.91 kB / 1.188 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.3373, allocations: 147 kB / 1.188 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3374, allocations: 0 / 1.188 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3374, allocations: 0 / 1.188 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3374, allocations: 11.94 kB / 1.188 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3384, allocations: 0.7159 MB / 1.189 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3384, allocations: 7.938 kB / 1.189 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3385, allocations: 23.98 kB / 1.189 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.3385, allocations: 7.984 kB / 1.189 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.3386, allocations: 8 kB / 1.189 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3386, allocations: 0 / 1.189 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.3386, allocations: 7.984 kB / 1.189 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.339, allocations: 386.4 kB / 1.189 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3391, allocations: 112.9 kB / 1.189 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.3391, allocations: 8 kB / 1.189 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.3393, allocations: 7.984 kB / 1.189 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.3394, allocations: 15.94 kB / 1.189 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-06/0.3394, allocations: 4 kB / 1.189 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001975/0.3396, allocations: 160.8 kB / 1.189 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3396, allocations: 0 / 1.189 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005184/0.3401, allocations: 72 kB / 1.189 GB, free: 7.152 MB / 0.9356 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.0001599/0.3403, allocations: 115.2 kB / 1.19 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006089/0.3409, allocations: 295.9 kB / 1.19 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3409, allocations: 0 / 1.19 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.008e-05/0.341, allocations: 61.22 kB / 1.19 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.3415, allocations: 33 kB / 1.19 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007479/0.3423, allocations: 460 kB / 1.19 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.3427, allocations: 0.7363 MB / 1.191 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.3428, allocations: 23.42 kB / 1.191 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.3428, allocations: 0 / 1.191 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of Templates: time 0.004732/0.3475, allocations: 2.367 MB / 1.193 GB, free: 2.992 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.47900590102654]