Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001317/0.001317, allocations: 103.4 kB / 18.19 MB, free: 4.117 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.001332/0.001332, allocations: 193.9 kB / 21.34 MB, free: 0.9766 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.463/1.463, allocations: 225.6 MB / 249.9 MB, free: 3.242 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 489.7 MB / 0.7761 GB, free: 2.453 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.89 kB / 1.127 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303/1.305, allocations: 172.1 MB / 1.295 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.005078/1.31, allocations: 2.659 MB / 1.297 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003066/1.313, allocations: 1.6 MB / 1.299 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/1.313, allocations: 6.094 kB / 1.299 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008057/1.314, allocations: 171 kB / 1.299 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005438/1.314, allocations: 150.6 kB / 1.299 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/1.315, allocations: 188 kB / 1.3 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004173/1.315, allocations: 224 kB / 1.3 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/1.316, allocations: 102.7 kB / 1.3 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/1.316, allocations: 82.44 kB / 1.3 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/1.316, allocations: 113.2 kB / 1.3 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/1.316, allocations: 12.38 kB / 1.3 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/1.317, allocations: 217.4 kB / 1.3 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/1.317, allocations: 63.72 kB / 1.3 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/1.317, allocations: 78.67 kB / 1.3 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005277/1.317, allocations: 307.2 kB / 1.301 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.317, allocations: 0 / 1.301 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.724e-06/1.317, allocations: 4 kB / 1.301 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.252e-06/1.317, allocations: 3.938 kB / 1.301 GB, free: 2.055 MB / 0.9981 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.0008461/1.318, allocations: 487 kB / 1.301 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.318, allocations: 9.562 kB / 1.301 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007767/1.319, allocations: 84.75 kB / 1.301 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/1.319, allocations: 239.5 kB / 1.301 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/1.319, allocations: 10.66 kB / 1.301 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/1.319, allocations: 18.27 kB / 1.301 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/1.32, allocations: 288.6 kB / 1.302 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/1.32, allocations: 1.891 kB / 1.302 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/1.32, allocations: 10.47 kB / 1.302 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/1.32, allocations: 19.45 kB / 1.302 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/1.321, allocations: 223.2 kB / 1.302 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/1.323, allocations: 1.605 MB / 1.304 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/1.323, allocations: 310.8 kB / 1.304 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/1.323, allocations: 58.02 kB / 1.304 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/1.323, allocations: 5.844 kB / 1.304 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/1.323, allocations: 35.94 kB / 1.304 GB, free: 15.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/1.323, allocations: 1.406 kB / 1.304 GB, free: 15.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006332/1.324, allocations: 251.5 kB / 1.304 GB, free: 15.21 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/1.324, allocations: 78.17 kB / 1.304 GB, free: 15.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/1.324, allocations: 210.3 kB / 1.304 GB, free: 14.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/1.324, allocations: 26.36 kB / 1.304 GB, free: 14.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/1.325, allocations: 161.5 kB / 1.305 GB, free: 14.81 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/1.325, allocations: 41 kB / 1.305 GB, free: 14.78 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/1.325, allocations: 51.61 kB / 1.305 GB, free: 14.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.325, allocations: 326.2 kB / 1.305 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/1.325, allocations: 75.62 kB / 1.305 GB, free: 14.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/1.325, allocations: 162.2 kB / 1.305 GB, free: 14.26 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/1.326, allocations: 243.4 kB / 1.306 GB, free: 14.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/1.326, allocations: 1.062 kB / 1.306 GB, free: 14.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005384/1.326, allocations: 275.4 kB / 1.306 GB, free: 13.96 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.326, allocations: 6.312 kB / 1.306 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.326, allocations: 2.281 kB / 1.306 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.326, allocations: 13.06 kB / 1.306 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/1.327, allocations: 58.05 kB / 1.306 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.327, allocations: 5.297 kB / 1.306 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/1.327, allocations: 25.86 kB / 1.306 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/1.327, allocations: 13.75 kB / 1.306 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002356/1.327, allocations: 167 kB / 1.306 GB, free: 13.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002334/1.327, allocations: 156.1 kB / 1.306 GB, free: 13.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003194/1.328, allocations: 222.1 kB / 1.306 GB, free: 13.51 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/1.328, allocations: 1.344 kB / 1.306 GB, free: 13.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004897/1.328, allocations: 250.5 kB / 1.307 GB, free: 13.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/1.328, allocations: 7.953 kB / 1.307 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/1.328, allocations: 6.312 kB / 1.307 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/1.328, allocations: 9.094 kB / 1.307 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/1.328, allocations: 50.2 kB / 1.307 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.328, allocations: 13.72 kB / 1.307 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/1.329, allocations: 17.55 kB / 1.307 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/1.329, allocations: 14.53 kB / 1.307 GB, free: 13.37 MB / 1.014 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.0001408/1.329, allocations: 193.1 kB / 1.307 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/1.329, allocations: 15.09 kB / 1.307 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/1.329, allocations: 141.4 kB / 1.307 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.329, allocations: 4.969 kB / 1.307 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.329, allocations: 1.312 kB / 1.307 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.329, allocations: 2.188 kB / 1.307 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/1.33, allocations: 0.7295 MB / 1.308 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.33, allocations: 6.656 kB / 1.308 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/1.33, allocations: 22.97 kB / 1.308 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/1.33, allocations: 8.609 kB / 1.308 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/1.33, allocations: 3.312 kB / 1.308 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.33, allocations: 4.875 kB / 1.308 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.33, allocations: 6.625 kB / 1.308 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/1.331, allocations: 384 kB / 1.308 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/1.331, allocations: 105.7 kB / 1.308 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/1.331, allocations: 5.188 kB / 1.308 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/1.331, allocations: 17.27 kB / 1.308 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/1.331, allocations: 12.67 kB / 1.308 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/1.331, allocations: 6.578 kB / 1.308 GB, free: 12.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002009/1.331, allocations: 154.4 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.331, allocations: 1.094 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005648/1.332, allocations: 70.52 kB / 1.309 GB, free: 11.96 MB / 1.014 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.0001815/1.332, allocations: 114.1 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005936/1.333, allocations: 266 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.333, allocations: 5.094 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/1.333, allocations: 56.19 kB / 1.309 GB, free: 11.76 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/1.333, allocations: 35.38 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008608/1.334, allocations: 457.4 kB / 1.309 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/1.335, allocations: 0.7401 MB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/1.335, allocations: 25.09 kB / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/1.335, allocations: 0 / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of Templates: time 0.005519/1.34, allocations: 2.344 MB / 1.313 GB, free: 10.5 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches