Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001423/0.001423, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001779/0.001779, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9417/0.9417, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.276/2.276, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.647e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003984/0.004001, allocations: 3.064 MB / 0.8927 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.005946, allocations: 1.13 MB / 0.8938 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.006154, allocations: 19.81 kB / 0.8939 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.006652, allocations: 115.2 kB / 0.894 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.0071, allocations: 258.4 kB / 0.8942 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.007479, allocations: 207.6 kB / 0.8944 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008582/0.008337, allocations: 0.6322 MB / 0.895 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.008674, allocations: 234.5 kB / 0.8953 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.009118, allocations: 343.1 kB / 0.8956 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.009442, allocations: 215.4 kB / 0.8958 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.009488, allocations: 28 kB / 0.8958 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.009658, allocations: 99.78 kB / 0.8959 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.009777, allocations: 131.6 kB / 0.896 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.009905, allocations: 131.6 kB / 0.8962 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.01031, allocations: 362.6 kB / 0.8965 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.01031, allocations: 0 / 0.8965 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.02e-07/0.01031, allocations: 4 kB / 0.8965 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.01032, allocations: 0 / 0.8965 GB, free: 2.785 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008244/0.01114, allocations: 0.7405 MB / 0.8972 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.01118, allocations: 8.625 kB / 0.8972 GB, free: 2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/0.01177, allocations: 148.4 kB / 0.8974 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.01221, allocations: 358.7 kB / 0.8977 GB, free: 1.473 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.01224, allocations: 21.03 kB / 0.8977 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.01229, allocations: 28.38 kB / 0.8978 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005041/0.01279, allocations: 0.5324 MB / 0.8983 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.01281, allocations: 7.938 kB / 0.8983 GB, free: 0.7656 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.01283, allocations: 12 kB / 0.8983 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.617e-05/0.01289, allocations: 40.62 kB / 0.8984 GB, free: 0.7109 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.01314, allocations: 164.2 kB / 0.8985 GB, free: 0.5508 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.01539, allocations: 3.465 MB / 0.9019 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.0157, allocations: 175.1 kB / 0.9021 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.01579, allocations: 55.66 kB / 0.9021 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.01581, allocations: 7.984 kB / 0.9021 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.01583, allocations: 41.39 kB / 0.9022 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.482e-06/0.01584, allocations: 0 / 0.9022 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=27): time 0.0008965/0.01673, allocations: 422.7 kB / 0.9026 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.01676, allocations: 55.64 kB / 0.9026 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.017, allocations: 370.4 kB / 0.903 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.01703, allocations: 29.7 kB / 0.903 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.01717, allocations: 298.8 kB / 0.9033 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.01724, allocations: 107.1 kB / 0.9034 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.87e-05/0.01734, allocations: 79.78 kB / 0.9035 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.01749, allocations: 0.5234 MB / 0.904 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.01758, allocations: 48.95 kB / 0.904 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.01777, allocations: 266.5 kB / 0.9043 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.01808, allocations: 331.9 kB / 0.9046 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01808, allocations: 3.938 kB / 0.9046 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005356/0.01861, allocations: 383.8 kB / 0.905 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.01863, allocations: 8.625 kB / 0.905 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.01864, allocations: 11.98 kB / 0.905 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/0.01882, allocations: 70.94 kB / 0.905 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.01906, allocations: 75.91 kB / 0.9051 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.01907, allocations: 19.91 kB / 0.9051 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.01924, allocations: 12 kB / 0.9051 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.01927, allocations: 16 kB / 0.9052 GB, free: 9.289 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.01939, allocations: 184.5 kB / 0.9053 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.01945, allocations: 47.77 kB / 0.9054 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.01985, allocations: 252.7 kB / 0.9056 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.01986, allocations: 7.938 kB / 0.9056 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01986, allocations: 0 / 0.9056 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.01987, allocations: 7.922 kB / 0.9056 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.02061, allocations: 0.6084 MB / 0.9062 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.02062, allocations: 8 kB / 0.9062 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.02077, allocations: 31.98 kB / 0.9063 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001468/0.02091, allocations: 79.02 kB / 0.9063 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.02093, allocations: 4 kB / 0.9064 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.02093, allocations: 4 kB / 0.9064 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02093, allocations: 0 / 0.9064 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.02135, allocations: 422 kB / 0.9068 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.02144, allocations: 55.67 kB / 0.9068 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.02148, allocations: 8 kB / 0.9068 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.02161, allocations: 11.98 kB / 0.9068 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.02166, allocations: 23.89 kB / 0.9069 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.02167, allocations: 12 kB / 0.9069 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001343/0.02181, allocations: 231 kB / 0.9071 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.02181, allocations: 0 / 0.9071 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003997/0.02221, allocations: 88 kB / 0.9072 GB, free: 7.09 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.691e-05/0.0223, allocations: 103.2 kB / 0.9073 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.02265, allocations: 237.4 kB / 0.9075 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02266, allocations: 0 / 0.9075 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.02281, allocations: 124.2 kB / 0.9076 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.02338, allocations: 122.1 kB / 0.9077 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.02461, allocations: 0.6817 MB / 0.9084 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.475e-05/0.02469, allocations: 113.6 kB / 0.9085 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.02484, allocations: 47.33 kB / 0.9085 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.02509, allocations: 166.1 kB / 0.9087 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of SimCode: time 7.92e-07/0.02509, allocations: 0 / 0.9087 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of Templates: time 0.008527/0.03362, allocations: 5.177 MB / 0.9138 GB, free: 384 kB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.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.100638289935887]