Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.0008567/0.0008567, allocations: 80.44 kB / 19.93 MB, free: 4.629 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.000793/0.000793, allocations: 173.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.8569/0.8569, allocations: 177.1 MB / 203.5 MB, free: 5.754 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 1.757/1.757, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.061e-05, allocations: 9.094 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002996/0.003027, allocations: 2.615 MB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.004777, allocations: 1.282 MB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.004877, allocations: 3.938 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006054/0.005482, allocations: 179.2 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.005757, allocations: 171.1 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.006032, allocations: 167.4 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.006292, allocations: 287.1 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.006537, allocations: 121.5 kB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.006768, allocations: 159.5 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.006955, allocations: 123.7 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.006978, allocations: 12 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.007141, allocations: 127.7 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.00721, allocations: 75.73 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.007266, allocations: 63.89 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.007566, allocations: 327 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.00757, allocations: 4 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.824e-06/0.007572, allocations: 0 / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.007577, allocations: 0 / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006109/0.008188, allocations: 429.5 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.008223, allocations: 12.75 kB / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.008524, allocations: 68.72 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.00874, allocations: 183.3 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.008756, allocations: 16.64 kB / 1.007 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.008778, allocations: 12.38 kB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.009169, allocations: 360.5 kB / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.009178, allocations: 192 / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.009197, allocations: 8.375 kB / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.009232, allocations: 28.2 kB / 1.008 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.009539, allocations: 260.5 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009753/0.01051, allocations: 1.099 MB / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.01083, allocations: 241 kB / 1.009 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.01097, allocations: 121.6 kB / 1.009 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.01099, allocations: 4 kB / 1.009 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.01101, allocations: 38.5 kB / 1.009 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.01101, allocations: 4 kB / 1.009 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.000482/0.01149, allocations: 344.3 kB / 1.01 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.01153, allocations: 81.11 kB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.01164, allocations: 170.4 kB / 1.01 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.01166, allocations: 29.7 kB / 1.01 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.01174, allocations: 148.1 kB / 1.01 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.01177, allocations: 55.58 kB / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.01183, allocations: 49.78 kB / 1.01 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.01191, allocations: 326.8 kB / 1.01 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.01205, allocations: 116.8 kB / 1.01 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.01248, allocations: 205.1 kB / 1.011 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.01276, allocations: 289.2 kB / 1.011 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01276, allocations: 0 / 1.011 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003404/0.0131, allocations: 325.2 kB / 1.011 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.01312, allocations: 8.203 kB / 1.011 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01312, allocations: 8 kB / 1.011 GB, free: 2.059 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.01314, allocations: 0 / 1.011 GB, free: 2.059 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.0133, allocations: 59.83 kB / 1.011 GB, free: 2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01331, allocations: 4 kB / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.742e-05/0.01341, allocations: 35.86 kB / 1.011 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.01342, allocations: 4 kB / 1.011 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001614/0.01358, allocations: 204 kB / 1.012 GB, free: 1.754 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001411/0.01372, allocations: 187.5 kB / 1.012 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000239/0.01396, allocations: 254.7 kB / 1.012 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.01396, allocations: 3.984 kB / 1.012 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000314/0.01428, allocations: 295.2 kB / 1.012 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.01429, allocations: 4 kB / 1.012 GB, free: 0.9648 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.01429, allocations: 4 kB / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-06/0.01429, allocations: 0 / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.01441, allocations: 55.89 kB / 1.012 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.01441, allocations: 0 / 1.012 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.01449, allocations: 32.09 kB / 1.012 GB, free: 0.875 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.0145, allocations: 12 kB / 1.012 GB, free: 0.8633 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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 7.85e-05/0.01458, allocations: 192.2 kB / 1.013 GB, free: 0.668 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.01461, allocations: 19.84 kB / 1.013 GB, free: 0.6484 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003319/0.01495, allocations: 262.9 kB / 1.013 GB, free: 392 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01495, allocations: 4 kB / 1.013 GB, free: 388 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01495, allocations: 0 / 1.013 GB, free: 388 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01496, allocations: 3.984 kB / 1.013 GB, free: 384 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.01556, allocations: 0.6064 MB / 1.013 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01556, allocations: 0 / 1.013 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.01567, allocations: 47.89 kB / 1.013 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01567, allocations: 0 / 1.013 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.01569, allocations: 7.984 kB / 1.013 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01569, allocations: 0 / 1.013 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01569, allocations: 4 kB / 1.013 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.01601, allocations: 459.9 kB / 1.014 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.01606, allocations: 31.89 kB / 1.014 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.01608, allocations: 8 kB / 1.014 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.01619, allocations: 19.97 kB / 1.014 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.01623, allocations: 15.92 kB / 1.014 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.01624, allocations: 4 kB / 1.014 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 6.915e-05/0.01631, allocations: 133.6 kB / 1.014 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01631, allocations: 0 / 1.014 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003004/0.01661, allocations: 95.78 kB / 1.014 GB, free: 14.88 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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 9.436e-05/0.0167, allocations: 99.19 kB / 1.014 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.01715, allocations: 364.3 kB / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01715, allocations: 128 / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.01728, allocations: 119.8 kB / 1.015 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.0176, allocations: 31.94 kB / 1.015 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.01817, allocations: 476.1 kB / 1.015 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.588e-05/0.01826, allocations: 132.2 kB / 1.015 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.01833, allocations: 24.48 kB / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of SimCode: time 5.51e-07/0.01833, allocations: 0 / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of Templates: time 0.003577/0.02191, allocations: 2.691 MB / 1.018 GB, free: 10.91 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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: 6.56623531319201]