Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00106/0.00106, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001442/0.002502, allocations: 449.7 kB / 10.37 MB, free: 328 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: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002435, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9899/0.9899, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09817/1.088, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.896/1.896, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4355/2.332, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_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_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.287e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.007923/0.007946, allocations: 3.161 MB / 0.7324 GB, free: 1.398 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0024/0.01035, allocations: 1.164 MB / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.01057, allocations: 27.75 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004821/0.01106, allocations: 139.6 kB / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005007/0.01156, allocations: 265.5 kB / 0.734 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.01199, allocations: 209.4 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006544/0.01265, allocations: 0.637 MB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.01302, allocations: 238.6 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.01354, allocations: 368.3 kB / 0.7354 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.0139, allocations: 233.1 kB / 0.7356 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.01395, allocations: 24 kB / 0.7356 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.01416, allocations: 91.86 kB / 0.7357 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.01428, allocations: 108.2 kB / 0.7358 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.01441, allocations: 116.8 kB / 0.7359 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.01486, allocations: 346.6 kB / 0.7362 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-05/0.01488, allocations: 0 / 0.7362 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.704e-06/0.01488, allocations: 0.5312 kB / 0.7362 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.0149, allocations: 1.125 kB / 0.7362 GB, free: 13.47 MB / 0.7136 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.0009252/0.01583, allocations: 0.6952 MB / 0.7369 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.01586, allocations: 12.97 kB / 0.7369 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006329/0.0165, allocations: 217.7 kB / 0.7371 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.01697, allocations: 335 kB / 0.7375 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.017, allocations: 21.59 kB / 0.7375 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.01705, allocations: 36.3 kB / 0.7375 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.01759, allocations: 483 kB / 0.738 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.01761, allocations: 4 kB / 0.738 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.01764, allocations: 12 kB / 0.738 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/0.0177, allocations: 41.72 kB / 0.738 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.01796, allocations: 154.5 kB / 0.7382 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.01984, allocations: 2.361 MB / 0.7405 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.02023, allocations: 209.9 kB / 0.7407 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.02033, allocations: 53.52 kB / 0.7407 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.02036, allocations: 4 kB / 0.7407 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.02039, allocations: 43.42 kB / 0.7408 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 2.335e-06/0.02039, allocations: 3.938 kB / 0.7408 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.001005/0.02139, allocations: 362.5 kB / 0.7411 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.02143, allocations: 55.64 kB / 0.7412 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.02168, allocations: 311.2 kB / 0.7415 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.0217, allocations: 29.7 kB / 0.7415 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.02183, allocations: 231.1 kB / 0.7417 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.77e-05/0.0219, allocations: 103.1 kB / 0.7418 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.02201, allocations: 74.12 kB / 0.7419 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.02212, allocations: 350.7 kB / 0.7422 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/0.02221, allocations: 44.92 kB / 0.7423 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.02239, allocations: 191.2 kB / 0.7425 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.02269, allocations: 283.5 kB / 0.7427 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.0227, allocations: 0 / 0.7427 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005267/0.02322, allocations: 317 kB / 0.743 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.02324, allocations: 7.984 kB / 0.743 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.02325, allocations: 8 kB / 0.743 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002226/0.02348, allocations: 63.7 kB / 0.7431 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.02378, allocations: 91.83 kB / 0.7432 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.02379, allocations: 8.594 kB / 0.7432 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.02396, allocations: 12.75 kB / 0.7432 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.02399, allocations: 16 kB / 0.7432 GB, free: 5.844 MB / 0.7136 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.00013/0.02412, allocations: 143.2 kB / 0.7434 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.02419, allocations: 39.89 kB / 0.7434 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.02461, allocations: 228.6 kB / 0.7436 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.02462, allocations: 4 kB / 0.7436 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.02462, allocations: 5.062 kB / 0.7436 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.02463, allocations: 4 kB / 0.7436 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007853/0.02542, allocations: 0.5186 MB / 0.7441 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.02542, allocations: 0 / 0.7441 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.02562, allocations: 48.58 kB / 0.7442 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.876e-05/0.02572, allocations: 48.48 kB / 0.7442 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001685/0.02588, allocations: 64.53 kB / 0.7443 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.872e-05/0.0259, allocations: 8 kB / 0.7443 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.02591, allocations: 0 / 0.7443 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.02591, allocations: 7.938 kB / 0.7443 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/0.02633, allocations: 366 kB / 0.7447 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.02637, allocations: 11.94 kB / 0.7447 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.02653, allocations: 8 kB / 0.7447 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.02659, allocations: 27.94 kB / 0.7447 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.02661, allocations: 4 kB / 0.7447 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001225/0.02673, allocations: 120.7 kB / 0.7448 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02673, allocations: 2.438 kB / 0.7448 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003662/0.02709, allocations: 92 kB / 0.7449 GB, free: 4.004 MB / 0.7136 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 0.0001275/0.02722, allocations: 87.92 kB / 0.745 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.02763, allocations: 201.7 kB / 0.7452 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.001e-05/0.02765, allocations: 8 kB / 0.7452 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.02783, allocations: 113.3 kB / 0.7453 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.02841, allocations: 165.2 kB / 0.7455 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.03119, allocations: 0.702 MB / 0.7461 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.72e-05/0.03129, allocations: 117.6 kB / 0.7463 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001919/0.03148, allocations: 46.16 kB / 0.7463 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.03174, allocations: 141.3 kB / 0.7464 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/0.03174, allocations: 0 / 0.7464 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of Templates: time 0.00795/0.03969, allocations: 5.331 MB / 0.7516 GB, free: 13.29 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance/Buildings_12_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: 4.926487414166331]