Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.0009664/0.0009664, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009541/0.0009541, allocations: 173 kB / 23.5 MB, free: 1.059 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.917/0.917, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.059/2.059, allocations: 429.5 MB / 0.6736 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 0 / 0.8782 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.548e-05, allocations: 2.812 kB / 0.8782 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004217/0.004252, allocations: 3.333 MB / 0.8814 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.006336, allocations: 1.45 MB / 0.8828 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.006488, allocations: 4 kB / 0.8828 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008235/0.007311, allocations: 340.5 kB / 0.8832 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.007614, allocations: 165.6 kB / 0.8833 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.007899, allocations: 163.4 kB / 0.8835 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003537/0.008253, allocations: 342.7 kB / 0.8838 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004146/0.008668, allocations: 196.1 kB / 0.884 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.008962, allocations: 203.5 kB / 0.8842 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.00922, allocations: 131.6 kB / 0.8843 GB, free: 392 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.009255, allocations: 20 kB / 0.8843 GB, free: 372 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.009469, allocations: 163.5 kB / 0.8845 GB, free: 208 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.009573, allocations: 91.73 kB / 0.8846 GB, free: 116 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.174e-05/0.009665, allocations: 83.77 kB / 0.8846 GB, free: 32 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004231/0.01009, allocations: 291 kB / 0.8849 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01009, allocations: 0 / 0.8849 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.112e-06/0.01009, allocations: 0 / 0.8849 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.0101, allocations: 0 / 0.8849 GB, free: 15.75 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000737/0.01084, allocations: 0.5739 MB / 0.8855 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.01088, allocations: 12.03 kB / 0.8855 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005181/0.0114, allocations: 124.6 kB / 0.8856 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.01167, allocations: 218 kB / 0.8858 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.01169, allocations: 12.88 kB / 0.8858 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.01172, allocations: 20.36 kB / 0.8859 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.01209, allocations: 320.5 kB / 0.8862 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.01211, allocations: 192 / 0.8862 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.01213, allocations: 12.38 kB / 0.8862 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/0.01217, allocations: 16.44 kB / 0.8862 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.01231, allocations: 86.88 kB / 0.8863 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.01337, allocations: 1.278 MB / 0.8875 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.01365, allocations: 99.03 kB / 0.8876 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.0137, allocations: 27.67 kB / 0.8876 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.01371, allocations: 7.938 kB / 0.8876 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.01374, allocations: 37.39 kB / 0.8877 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.01374, allocations: 0 / 0.8877 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0003473/0.01409, allocations: 129.1 kB / 0.8878 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.01412, allocations: 55.41 kB / 0.8879 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.01429, allocations: 251.6 kB / 0.8881 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.01431, allocations: 25.7 kB / 0.8881 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.01442, allocations: 226.9 kB / 0.8883 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.01444, allocations: 27.75 kB / 0.8884 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.01449, allocations: 51.31 kB / 0.8884 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.01464, allocations: 0.4962 MB / 0.8889 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/0.01468, allocations: 15.98 kB / 0.8889 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.062e-05/0.01476, allocations: 109.7 kB / 0.889 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.01489, allocations: 152.6 kB / 0.8892 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.0149, allocations: 0 / 0.8892 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003434/0.01524, allocations: 164.9 kB / 0.8893 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.01526, allocations: 10.34 kB / 0.8893 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.01526, allocations: 0 / 0.8893 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.01548, allocations: 40 kB / 0.8894 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.01556, allocations: 39.92 kB / 0.8894 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008346/0.01639, allocations: 1.736 MB / 0.8911 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.01646, allocations: 23.91 kB / 0.8911 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.01647, allocations: 8 kB / 0.8911 GB, free: 8.887 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.142e-05/0.01656, allocations: 164.5 kB / 0.8913 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.01659, allocations: 15.91 kB / 0.8913 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.0166, allocations: 21.41 kB / 0.8913 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.31e-07/0.0166, allocations: 0 / 0.8913 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01661, allocations: 3.984 kB / 0.8913 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01661, allocations: 4 kB / 0.8913 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.01695, allocations: 416.9 kB / 0.8917 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01695, allocations: 0 / 0.8917 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.01698, allocations: 19.98 kB / 0.8917 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-05/0.01708, allocations: 23.67 kB / 0.8918 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.01709, allocations: 4 kB / 0.8918 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006748/0.01776, allocations: 1.736 MB / 0.8935 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01776, allocations: 3.938 kB / 0.8935 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.01791, allocations: 247.5 kB / 0.8937 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.01795, allocations: 23.84 kB / 0.8937 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.01796, allocations: 11.92 kB / 0.8937 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.01801, allocations: 7.938 kB / 0.8937 GB, free: 6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.01805, allocations: 8.109 kB / 0.8938 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.01806, allocations: 4 kB / 0.8938 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.98e-05/0.01814, allocations: 180.1 kB / 0.8939 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.01814, allocations: 0 / 0.8939 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002017/0.01834, allocations: 59.84 kB / 0.894 GB, free: 5.754 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.639e-05/0.01842, allocations: 91.25 kB / 0.8941 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.01871, allocations: 254.1 kB / 0.8943 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01871, allocations: 4.062 kB / 0.8943 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.01884, allocations: 213.4 kB / 0.8945 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.01909, allocations: 39.06 kB / 0.8946 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.01982, allocations: 382.8 kB / 0.8949 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.402e-05/0.01987, allocations: 91.95 kB / 0.895 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.149e-05/0.01993, allocations: 25.47 kB / 0.895 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.01996, allocations: 12.5 kB / 0.8951 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.01997, allocations: 0 / 0.8951 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of Templates: time 0.003859/0.02382, allocations: 1.881 MB / 0.8969 GB, free: 2.738 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.333279286976904]