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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 104.2 kB / 16.4 MB, free: 6.5 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 191.7 kB / 19.35 MB, free: 3.754 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 437 MB / 0.717 GB, free: 4.125 MB / 0.5762 GB [Timeout remaining time 86] 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=500,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=500,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.002225/0.002226, allocations: 67.89 kB / 1.027 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246/1.249, allocations: 151.6 MB / 1.175 GB, free: 17.97 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004233/1.253, allocations: 2.424 MB / 1.177 GB, free: 16.32 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002662/1.256, allocations: 1.588 MB / 1.179 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/1.256, allocations: 10.03 kB / 1.179 GB, free: 15.24 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007233/1.256, allocations: 171.5 kB / 1.179 GB, free: 15.14 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00047/1.257, allocations: 151.8 kB / 1.179 GB, free: 15.06 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/1.258, allocations: 178.7 kB / 1.18 GB, free: 14.98 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000328/1.258, allocations: 227.5 kB / 1.18 GB, free: 14.88 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/1.258, allocations: 115.1 kB / 1.18 GB, free: 14.83 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/1.258, allocations: 85.91 kB / 1.18 GB, free: 14.79 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/1.259, allocations: 107.4 kB / 1.18 GB, free: 14.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/1.259, allocations: 11.31 kB / 1.18 GB, free: 14.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/1.259, allocations: 214.7 kB / 1.18 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/1.259, allocations: 61.92 kB / 1.18 GB, free: 14.65 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.542e-05/1.259, allocations: 79.14 kB / 1.18 GB, free: 14.61 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005338/1.26, allocations: 304 kB / 1.181 GB, free: 14.51 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.26, allocations: 0 / 1.181 GB, free: 14.51 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.893e-06/1.26, allocations: 0 / 1.181 GB, free: 14.51 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.454e-05/1.26, allocations: 0 / 1.181 GB, free: 14.51 MB / 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.0007731/1.261, allocations: 490.8 kB / 1.181 GB, free: 14.06 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.261, allocations: 13.38 kB / 1.181 GB, free: 14.06 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007917/1.262, allocations: 85.7 kB / 1.181 GB, free: 14.05 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/1.262, allocations: 235.1 kB / 1.181 GB, free: 13.82 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/1.262, allocations: 10.94 kB / 1.181 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/1.262, allocations: 14.12 kB / 1.181 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005369/1.262, allocations: 292.2 kB / 1.182 GB, free: 13.63 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/1.262, allocations: 1.469 kB / 1.182 GB, free: 13.63 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/1.262, allocations: 6.594 kB / 1.182 GB, free: 13.62 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/1.263, allocations: 19.97 kB / 1.182 GB, free: 13.62 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/1.263, allocations: 223.5 kB / 1.182 GB, free: 13.55 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/1.265, allocations: 1.6 MB / 1.184 GB, free: 12.15 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/1.265, allocations: 322.8 kB / 1.184 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/1.265, allocations: 65.14 kB / 1.184 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/1.265, allocations: 1.312 kB / 1.184 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/1.265, allocations: 40.7 kB / 1.184 GB, free: 11.8 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 2.024e-06/1.266, allocations: 0 / 1.184 GB, free: 11.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0006824/1.266, allocations: 247.2 kB / 1.184 GB, free: 11.68 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/1.266, allocations: 78.55 kB / 1.184 GB, free: 11.58 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/1.267, allocations: 210.5 kB / 1.185 GB, free: 11.45 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/1.267, allocations: 29.7 kB / 1.185 GB, free: 11.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.267, allocations: 159.2 kB / 1.185 GB, free: 11.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/1.267, allocations: 36.12 kB / 1.185 GB, free: 11.24 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.267, allocations: 60.05 kB / 1.185 GB, free: 11.2 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.032e-05/1.267, allocations: 321.5 kB / 1.185 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/1.267, allocations: 80.72 kB / 1.185 GB, free: 10.86 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/1.267, allocations: 161.6 kB / 1.185 GB, free: 10.72 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/1.268, allocations: 234.8 kB / 1.186 GB, free: 10.55 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.268, allocations: 2.062 kB / 1.186 GB, free: 10.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005455/1.268, allocations: 278.7 kB / 1.186 GB, free: 10.42 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/1.268, allocations: 11.64 kB / 1.186 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.268, allocations: 2.219 kB / 1.186 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/1.268, allocations: 8.812 kB / 1.186 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/1.269, allocations: 53.91 kB / 1.186 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/1.269, allocations: 4.859 kB / 1.186 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/1.269, allocations: 25.61 kB / 1.186 GB, free: 10.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/1.269, allocations: 9.188 kB / 1.186 GB, free: 10.4 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000222/1.269, allocations: 171.2 kB / 1.186 GB, free: 10.29 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002009/1.269, allocations: 160.7 kB / 1.186 GB, free: 10.15 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002794/1.27, allocations: 218.8 kB / 1.186 GB, free: 9.977 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/1.27, allocations: 3.938 kB / 1.186 GB, free: 9.973 MB / 0.92 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004632/1.27, allocations: 254.1 kB / 1.187 GB, free: 9.859 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.27, allocations: 9.094 kB / 1.187 GB, free: 9.859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.27, allocations: 4.734 kB / 1.187 GB, free: 9.859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/1.27, allocations: 4.406 kB / 1.187 GB, free: 9.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/1.27, allocations: 55.22 kB / 1.187 GB, free: 9.852 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.27, allocations: 12.78 kB / 1.187 GB, free: 9.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/1.271, allocations: 18.84 kB / 1.187 GB, free: 9.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/1.271, allocations: 9.484 kB / 1.187 GB, free: 9.84 MB / 0.92 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 8.584e-05/1.271, allocations: 193.1 kB / 1.187 GB, free: 9.648 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/1.271, allocations: 18.88 kB / 1.187 GB, free: 9.637 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/1.271, allocations: 145.9 kB / 1.187 GB, free: 9.559 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/1.271, allocations: 5 kB / 1.187 GB, free: 9.555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.271, allocations: 1.188 kB / 1.187 GB, free: 9.555 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.271, allocations: 2 kB / 1.187 GB, free: 9.555 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/1.272, allocations: 0.7258 MB / 1.188 GB, free: 8.996 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.272, allocations: 3.094 kB / 1.188 GB, free: 8.996 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/1.272, allocations: 26.27 kB / 1.188 GB, free: 8.992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.272, allocations: 3.969 kB / 1.188 GB, free: 8.992 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/1.272, allocations: 4.297 kB / 1.188 GB, free: 8.992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.272, allocations: 7.656 kB / 1.188 GB, free: 8.988 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.272, allocations: 10.75 kB / 1.188 GB, free: 8.98 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/1.273, allocations: 388.6 kB / 1.188 GB, free: 8.641 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.756e-05/1.273, allocations: 104.2 kB / 1.188 GB, free: 8.535 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/1.273, allocations: 5.422 kB / 1.188 GB, free: 8.535 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/1.273, allocations: 14.42 kB / 1.188 GB, free: 8.531 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/1.273, allocations: 17.16 kB / 1.188 GB, free: 8.523 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/1.273, allocations: 6.125 kB / 1.188 GB, free: 8.523 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001934/1.273, allocations: 158.1 kB / 1.189 GB, free: 8.422 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.273, allocations: 0 / 1.189 GB, free: 8.422 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005447/1.274, allocations: 66.94 kB / 1.189 GB, free: 8.418 MB / 0.92 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.0001791/1.274, allocations: 113.5 kB / 1.189 GB, free: 8.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006107/1.274, allocations: 283.3 kB / 1.189 GB, free: 8.23 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.274, allocations: 1.438 kB / 1.189 GB, free: 8.23 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/1.275, allocations: 62 kB / 1.189 GB, free: 8.211 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/1.275, allocations: 36.86 kB / 1.189 GB, free: 8.199 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007444/1.276, allocations: 416.8 kB / 1.19 GB, free: 7.898 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/1.276, allocations: 0.7402 MB / 1.19 GB, free: 7.191 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000239/1.276, allocations: 81.38 kB / 1.19 GB, free: 7.176 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/1.276, allocations: 20.09 kB / 1.19 GB, free: 7.164 MB / 0.92 GB Notification: Performance of SimCode: time 2.6e-07/1.276, allocations: 1.656 kB / 1.19 GB, free: 7.164 MB / 0.92 GB Notification: Performance of Templates: time 0.00619/1.283, allocations: 1.92 MB / 1.192 GB, free: 6.832 MB / 0.92 GB [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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