Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009541/0.0009541, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008754/0.0008754, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9258/0.9258, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.751/1.751, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.255e-05, allocations: 5.094 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004144/0.004177, allocations: 2.425 MB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002836/0.007013, allocations: 1.535 MB / 0.9861 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.007133, allocations: 4 kB / 0.9861 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008026/0.007936, allocations: 175.2 kB / 0.9862 GB, free: 13.91 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004509/0.008387, allocations: 159.2 kB / 0.9864 GB, free: 13.76 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.008906, allocations: 191.3 kB / 0.9866 GB, free: 13.57 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.009257, allocations: 231.2 kB / 0.9868 GB, free: 13.34 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003276/0.009585, allocations: 97.14 kB / 0.9869 GB, free: 13.25 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.009893, allocations: 135.6 kB / 0.987 GB, free: 13.12 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.01016, allocations: 99.73 kB / 0.9871 GB, free: 13.02 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.0102, allocations: 16 kB / 0.9871 GB, free: 13 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.01054, allocations: 199.5 kB / 0.9873 GB, free: 12.81 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.555e-05/0.01064, allocations: 79.73 kB / 0.9874 GB, free: 12.73 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.575e-05/0.01071, allocations: 51.91 kB / 0.9874 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004864/0.0112, allocations: 335 kB / 0.9878 GB, free: 12.35 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.0112, allocations: 0 / 0.9878 GB, free: 12.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.0112, allocations: 0 / 0.9878 GB, free: 12.35 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.01121, allocations: 4 kB / 0.9878 GB, free: 12.35 MB / 0.948 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.0008/0.01201, allocations: 417.5 kB / 0.9882 GB, free: 11.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.01206, allocations: 8.031 kB / 0.9882 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007068/0.01277, allocations: 84.73 kB / 0.9882 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.01307, allocations: 177.5 kB / 0.9884 GB, free: 11.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.01309, allocations: 8.656 kB / 0.9884 GB, free: 11.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.01314, allocations: 12.38 kB / 0.9884 GB, free: 11.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.01368, allocations: 317.9 kB / 0.9887 GB, free: 11.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.0137, allocations: 4.188 kB / 0.9887 GB, free: 11.24 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.01373, allocations: 19.91 kB / 0.9888 GB, free: 11.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.01377, allocations: 16.23 kB / 0.9888 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.01422, allocations: 224.4 kB / 0.989 GB, free: 10.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.01599, allocations: 1.291 MB / 0.9902 GB, free: 9.633 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.01633, allocations: 157 kB / 0.9904 GB, free: 9.461 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.01643, allocations: 57.69 kB / 0.9905 GB, free: 9.398 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.01645, allocations: 7.984 kB / 0.9905 GB, free: 9.391 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.01648, allocations: 30.56 kB / 0.9905 GB, free: 9.352 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.01648, allocations: 0 / 0.9905 GB, free: 9.352 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0006363/0.01712, allocations: 244.9 kB / 0.9907 GB, free: 9.105 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.01717, allocations: 77.11 kB / 0.9908 GB, free: 9.012 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.01743, allocations: 215 kB / 0.991 GB, free: 8.793 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.01745, allocations: 25.7 kB / 0.991 GB, free: 8.762 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.01755, allocations: 164.1 kB / 0.9912 GB, free: 8.598 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.01758, allocations: 35.69 kB / 0.9912 GB, free: 8.562 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.01768, allocations: 53.66 kB / 0.9913 GB, free: 8.504 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.0178, allocations: 326.8 kB / 0.9916 GB, free: 8.176 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.01797, allocations: 84.8 kB / 0.9917 GB, free: 8.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.01819, allocations: 159.1 kB / 0.9918 GB, free: 7.895 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.01854, allocations: 258.9 kB / 0.9921 GB, free: 7.602 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01854, allocations: 0 / 0.9921 GB, free: 7.602 MB / 0.948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005147/0.01906, allocations: 285.1 kB / 0.9923 GB, free: 7.316 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.01908, allocations: 8.375 kB / 0.9923 GB, free: 7.309 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01908, allocations: 4 kB / 0.9923 GB, free: 7.305 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.0191, allocations: 4 kB / 0.9923 GB, free: 7.301 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.01936, allocations: 63.89 kB / 0.9924 GB, free: 7.238 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.01937, allocations: 7.938 kB / 0.9924 GB, free: 7.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.01959, allocations: 27.91 kB / 0.9924 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.01962, allocations: 11.94 kB / 0.9925 GB, free: 7.191 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002308/0.01985, allocations: 176.1 kB / 0.9926 GB, free: 7.016 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002004/0.02005, allocations: 161 kB / 0.9928 GB, free: 6.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000307/0.02036, allocations: 231 kB / 0.993 GB, free: 6.555 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.02036, allocations: 480 / 0.993 GB, free: 6.555 MB / 0.948 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004531/0.02081, allocations: 273.4 kB / 0.9933 GB, free: 6.281 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.02082, allocations: 6.5 kB / 0.9933 GB, free: 6.277 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.02083, allocations: 4 kB / 0.9933 GB, free: 6.273 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-06/0.02083, allocations: 4 kB / 0.9933 GB, free: 6.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.02097, allocations: 55.89 kB / 0.9933 GB, free: 6.215 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.02098, allocations: 8.109 kB / 0.9933 GB, free: 6.207 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.02109, allocations: 23.98 kB / 0.9934 GB, free: 6.184 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.0211, allocations: 8 kB / 0.9934 GB, free: 6.176 MB / 0.948 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.0001013/0.0212, allocations: 208.2 kB / 0.9936 GB, free: 5.965 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.02123, allocations: 15.91 kB / 0.9936 GB, free: 5.949 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.02141, allocations: 139.1 kB / 0.9937 GB, free: 5.809 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.02141, allocations: 0 / 0.9937 GB, free: 5.809 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.02142, allocations: 48 / 0.9937 GB, free: 5.809 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.02142, allocations: 11.91 kB / 0.9937 GB, free: 5.797 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.022, allocations: 0.6492 MB / 0.9944 GB, free: 5.082 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.022, allocations: 0 / 0.9944 GB, free: 5.082 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.02206, allocations: 31.91 kB / 0.9944 GB, free: 5.051 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.02206, allocations: 4 kB / 0.9944 GB, free: 5.047 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.02207, allocations: 4 kB / 0.9944 GB, free: 5.043 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.02208, allocations: 7.938 kB / 0.9944 GB, free: 5.035 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.02208, allocations: 0 / 0.9944 GB, free: 5.035 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.02231, allocations: 366.3 kB / 0.9947 GB, free: 4.633 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.02235, allocations: 39.97 kB / 0.9948 GB, free: 4.594 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.02237, allocations: 8 kB / 0.9948 GB, free: 4.586 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.02247, allocations: 11.98 kB / 0.9948 GB, free: 4.574 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.0225, allocations: 15.92 kB / 0.9948 GB, free: 4.559 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.0225, allocations: 8 kB / 0.9948 GB, free: 4.551 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001016/0.0226, allocations: 152.2 kB / 0.995 GB, free: 4.402 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.0226, allocations: 0 / 0.995 GB, free: 4.402 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000338/0.02294, allocations: 72 kB / 0.995 GB, free: 4.332 MB / 0.948 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.0001398/0.02308, allocations: 111.2 kB / 0.9951 GB, free: 4.211 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.02344, allocations: 284.6 kB / 0.9954 GB, free: 3.934 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.02344, allocations: 320 / 0.9954 GB, free: 3.934 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.0235, allocations: 59.84 kB / 0.9955 GB, free: 3.875 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.02385, allocations: 31.92 kB / 0.9955 GB, free: 3.844 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.02439, allocations: 436.8 kB / 0.9959 GB, free: 3.352 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.02449, allocations: 128.6 kB / 0.996 GB, free: 3.203 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.02454, allocations: 20.48 kB / 0.9961 GB, free: 3.184 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.02454, allocations: 0 / 0.9961 GB, free: 3.184 MB / 0.948 GB Notification: Performance of Templates: time 0.003277/0.02782, allocations: 2.434 MB / 0.9984 GB, free: 0.7578 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.091548807919025]