Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001643, allocations: 106.8 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.2 MB / 0.665 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 65 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2655, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005178/0.2708, allocations: 3.798 MB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.2735, allocations: 1.781 MB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.2738, allocations: 15.88 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008858/0.2747, allocations: 246.9 kB / 0.9555 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007224/0.2755, allocations: 270.8 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006145/0.2761, allocations: 231.3 kB / 0.9559 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.2768, allocations: 0.6049 MB / 0.9565 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005231/0.2773, allocations: 286.5 kB / 0.9568 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/0.2777, allocations: 239 kB / 0.957 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/0.2781, allocations: 239 kB / 0.9573 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.955e-05/0.2782, allocations: 32 kB / 0.9573 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.2786, allocations: 275.4 kB / 0.9576 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.2788, allocations: 119.6 kB / 0.9577 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.279, allocations: 210.8 kB / 0.9579 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000543/0.2795, allocations: 455.2 kB / 0.9583 GB, free: 448 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.2795, allocations: 4 kB / 0.9583 GB, free: 444 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2795, allocations: 4 kB / 0.9583 GB, free: 440 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.2796, allocations: 0 / 0.9583 GB, free: 440 kB / 0.7325 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.001189/0.2808, allocations: 0.7246 MB / 0.959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2808, allocations: 12.03 kB / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008927/0.2817, allocations: 136.2 kB / 0.9592 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.2822, allocations: 383.5 kB / 0.9595 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.2823, allocations: 21.03 kB / 0.9595 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.2823, allocations: 36.36 kB / 0.9596 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/0.2831, allocations: 0.5472 MB / 0.9601 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.2831, allocations: 7.938 kB / 0.9601 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.2832, allocations: 15.98 kB / 0.9601 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.985e-05/0.2833, allocations: 44.53 kB / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000696/0.284, allocations: 405.8 kB / 0.9606 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002662/0.2866, allocations: 3.33 MB / 0.9638 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/0.2873, allocations: 344 kB / 0.9641 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.2876, allocations: 180.8 kB / 0.9643 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.2877, allocations: 3.938 kB / 0.9643 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.2877, allocations: 38.56 kB / 0.9644 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.933e-06/0.2877, allocations: 4 kB / 0.9644 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of matching and sorting (n=27): time 0.002007/0.2897, allocations: 1.051 MB / 0.9654 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2898, allocations: 59.58 kB / 0.9654 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.2901, allocations: 341.5 kB / 0.9658 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.2901, allocations: 29.7 kB / 0.9658 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.2903, allocations: 251.5 kB / 0.966 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.2904, allocations: 94.64 kB / 0.9661 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.2905, allocations: 78.03 kB / 0.9662 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2906, allocations: 354.7 kB / 0.9665 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.2909, allocations: 144.8 kB / 0.9667 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.2912, allocations: 290.5 kB / 0.967 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/0.2919, allocations: 484.6 kB / 0.9674 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.2919, allocations: 0 / 0.9674 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009803/0.2929, allocations: 0.5696 MB / 0.968 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2929, allocations: 10.03 kB / 0.968 GB, free: 5.828 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2929, allocations: 4 kB / 0.968 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/0.2933, allocations: 91.06 kB / 0.9681 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.2936, allocations: 91.81 kB / 0.9682 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.2936, allocations: 8 kB / 0.9682 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.2939, allocations: 27.91 kB / 0.9682 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.294, allocations: 20 kB / 0.9682 GB, free: 5.582 MB / 0.7481 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.0001942/0.2942, allocations: 177.6 kB / 0.9684 GB, free: 5.398 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/0.2942, allocations: 43.53 kB / 0.9684 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008807/0.2951, allocations: 460 kB / 0.9689 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2951, allocations: 4 kB / 0.9689 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2951, allocations: 0 / 0.9689 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2952, allocations: 0 / 0.9689 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.2966, allocations: 0.9652 MB / 0.9698 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2966, allocations: 0 / 0.9698 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.2969, allocations: 51.89 kB / 0.9699 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002447/0.2971, allocations: 86.61 kB / 0.9699 GB, free: 3.703 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.2972, allocations: 0 / 0.9699 GB, free: 3.703 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.2972, allocations: 8 kB / 0.97 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2972, allocations: 0 / 0.97 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008033/0.298, allocations: 0.5467 MB / 0.9705 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.2981, allocations: 144.6 kB / 0.9706 GB, free: 2.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.2982, allocations: 8 kB / 0.9706 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.2984, allocations: 19.97 kB / 0.9707 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.2985, allocations: 27.91 kB / 0.9707 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.2985, allocations: 8 kB / 0.9707 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000221/0.2988, allocations: 239.2 kB / 0.9709 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2988, allocations: 0 / 0.9709 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004236/0.2992, allocations: 84 kB / 0.971 GB, free: 2.578 MB / 0.7481 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.0001287/0.2993, allocations: 107.2 kB / 0.9711 GB, free: 2.465 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009385/0.3003, allocations: 0.6707 MB / 0.9718 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3003, allocations: 0 / 0.9718 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.3007, allocations: 435.1 kB / 0.9722 GB, free: 1.242 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.3014, allocations: 136.9 kB / 0.9723 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.3026, allocations: 0.9183 MB / 0.9732 GB, free: 156 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.303, allocations: 0.8234 MB / 0.974 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3031, allocations: 35.42 kB / 0.974 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of SimCode: time 4.51e-07/0.3031, allocations: 0 / 0.974 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of Templates: time 0.01163/0.3147, allocations: 9.432 MB / 0.9832 GB, free: 5.859 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches