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.001104/0.001104, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001849/0.002953, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001027/0.001027, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002462, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9902/0.9902, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09118/1.081, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.351/2.351, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2335/2.585, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 2.425e-06/2.425e-06, allocations: 3.938 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.133e-05, allocations: 6.25 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003041/0.003062, allocations: 3.175 MB / 0.8214 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.004615, allocations: 1.165 MB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.004774, allocations: 23.75 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.005122, allocations: 139.1 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.005481, allocations: 262.3 kB / 0.8229 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.005783, allocations: 211.5 kB / 0.8231 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005052/0.006288, allocations: 0.644 MB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.00658, allocations: 234.7 kB / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.006974, allocations: 375 kB / 0.8244 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.007237, allocations: 223.3 kB / 0.8246 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.00727, allocations: 28 kB / 0.8246 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.007433, allocations: 91.84 kB / 0.8247 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.435e-05/0.007518, allocations: 107.6 kB / 0.8248 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.007617, allocations: 119.8 kB / 0.8249 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.007971, allocations: 338.6 kB / 0.8252 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.458e-05/0.007985, allocations: 7.938 kB / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.52e-07/0.007986, allocations: 0 / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.008002, allocations: 0 / 0.8252 GB, free: 11.76 MB / 0.8073 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.0007229/0.008724, allocations: 0.6979 MB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.008753, allocations: 12.62 kB / 0.8259 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.009166, allocations: 213.7 kB / 0.8261 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.009497, allocations: 337.4 kB / 0.8264 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.009513, allocations: 21.03 kB / 0.8265 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.009551, allocations: 36.3 kB / 0.8265 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.009931, allocations: 481.8 kB / 0.827 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.009944, allocations: 0 / 0.827 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.009965, allocations: 16 kB / 0.827 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-05/0.01001, allocations: 48.62 kB / 0.827 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.01017, allocations: 144.2 kB / 0.8272 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.01146, allocations: 2.357 MB / 0.8295 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.01173, allocations: 211.9 kB / 0.8297 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.17e-05/0.01179, allocations: 56.77 kB / 0.8297 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.01181, allocations: 8 kB / 0.8297 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.01183, allocations: 38.56 kB / 0.8298 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 1.372e-06/0.01183, allocations: 0 / 0.8298 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.0006314/0.01246, allocations: 365 kB / 0.8301 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.01249, allocations: 51.64 kB / 0.8302 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.01267, allocations: 319.2 kB / 0.8305 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.01268, allocations: 29.7 kB / 0.8305 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.01277, allocations: 228.6 kB / 0.8307 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.01283, allocations: 99.16 kB / 0.8308 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.01291, allocations: 78.11 kB / 0.8309 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.013, allocations: 350.7 kB / 0.8312 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.555e-05/0.01304, allocations: 44.86 kB / 0.8313 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.01315, allocations: 187.2 kB / 0.8314 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.01335, allocations: 283.7 kB / 0.8317 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01335, allocations: 4 kB / 0.8317 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003178/0.01367, allocations: 312.2 kB / 0.832 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.01368, allocations: 8 kB / 0.832 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.01369, allocations: 4 kB / 0.832 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/0.01383, allocations: 71.64 kB / 0.8321 GB, free: 4.227 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.01402, allocations: 91.83 kB / 0.8322 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.01402, allocations: 8 kB / 0.8322 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.681e-05/0.01412, allocations: 15.98 kB / 0.8322 GB, free: 4.113 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.01413, allocations: 12 kB / 0.8322 GB, free: 4.102 MB / 0.8073 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 9.556e-05/0.01423, allocations: 140.5 kB / 0.8323 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.01427, allocations: 35.91 kB / 0.8324 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.01454, allocations: 236.6 kB / 0.8326 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01454, allocations: 4 kB / 0.8326 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01454, allocations: 3.938 kB / 0.8326 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01455, allocations: 3.984 kB / 0.8326 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.01502, allocations: 0.5185 MB / 0.8331 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01503, allocations: 3.984 kB / 0.8331 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.01514, allocations: 43.92 kB / 0.8332 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.0152, allocations: 43.75 kB / 0.8332 GB, free: 3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.0153, allocations: 75.08 kB / 0.8333 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.01532, allocations: 4 kB / 0.8333 GB, free: 2.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01532, allocations: 4 kB / 0.8333 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.01532, allocations: 3.938 kB / 0.8333 GB, free: 2.902 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.01559, allocations: 367.6 kB / 0.8336 GB, free: 2.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.01562, allocations: 4 kB / 0.8336 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.01569, allocations: 8 kB / 0.8337 GB, free: 2.492 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.01574, allocations: 31.94 kB / 0.8337 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.01575, allocations: 4 kB / 0.8337 GB, free: 2.457 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.849e-05/0.01581, allocations: 116.7 kB / 0.8338 GB, free: 2.344 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01581, allocations: 4 kB / 0.8338 GB, free: 2.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002176/0.01603, allocations: 91.98 kB / 0.8339 GB, free: 2.25 MB / 0.8073 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 7.751e-05/0.01611, allocations: 84.36 kB / 0.834 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.01635, allocations: 203.4 kB / 0.8342 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/0.01637, allocations: 19.91 kB / 0.8342 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.01653, allocations: 109.4 kB / 0.8343 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.0169, allocations: 163.7 kB / 0.8344 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.01863, allocations: 0.6968 MB / 0.8351 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.208e-05/0.0187, allocations: 121.6 kB / 0.8352 GB, free: 0.7773 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.0188, allocations: 43.33 kB / 0.8353 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.01897, allocations: 141.2 kB / 0.8354 GB, free: 0.5977 MB / 0.8073 GB Notification: Performance of SimCode: time 1.112e-06/0.01897, allocations: 0 / 0.8354 GB, free: 0.5977 MB / 0.8073 GB Notification: Performance of Templates: time 0.01449/0.03345, allocations: 5.321 MB / 0.8406 GB, free: 11.41 MB / 0.823 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.ref.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.2251262702047825]