Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001656/0.001656, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001653/0.001653, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.469/1.469, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.773/2.773, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.96e-05/4.183e-05, allocations: 5.859 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.0092/0.009242, allocations: 3.594 MB / 0.7899 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004994/0.01424, allocations: 1.745 MB / 0.7916 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004612/0.0147, allocations: 24.31 kB / 0.7916 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.01606, allocations: 272.2 kB / 0.7919 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.01733, allocations: 322 kB / 0.7922 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000971/0.0183, allocations: 252.1 kB / 0.7924 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001344/0.01965, allocations: 0.6278 MB / 0.793 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006339/0.02028, allocations: 226.6 kB / 0.7932 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008362/0.02112, allocations: 339.1 kB / 0.7936 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.02161, allocations: 207.4 kB / 0.7938 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.118e-05/0.02168, allocations: 27.98 kB / 0.7938 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000905/0.02259, allocations: 248 kB / 0.794 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.02281, allocations: 131.5 kB / 0.7942 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.02307, allocations: 140.1 kB / 0.7943 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.0242, allocations: 0.6035 MB / 0.7949 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.0242, allocations: 1.375 kB / 0.7949 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.924e-06/0.0242, allocations: 0 / 0.7949 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.02421, allocations: 0 / 0.7949 GB, free: 4.086 MB / 0.7448 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.001701/0.02591, allocations: 0.6628 MB / 0.7955 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.02596, allocations: 13.47 kB / 0.7955 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.02734, allocations: 192.3 kB / 0.7957 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000902/0.02824, allocations: 365.5 kB / 0.7961 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.02829, allocations: 26.53 kB / 0.7961 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.02839, allocations: 36.31 kB / 0.7961 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.02976, allocations: 0.6272 MB / 0.7967 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.02979, allocations: 5.094 kB / 0.7968 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.02984, allocations: 19.92 kB / 0.7968 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.02995, allocations: 40.62 kB / 0.7968 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.03106, allocations: 416 kB / 0.7972 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.03456, allocations: 2.683 MB / 0.7998 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007594/0.03532, allocations: 312.1 kB / 0.8001 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.03565, allocations: 163 kB / 0.8003 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.03567, allocations: 4 kB / 0.8003 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.03571, allocations: 42.44 kB / 0.8003 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.03571, allocations: 0 / 0.8003 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of matching and sorting (n=27): time 0.002185/0.0379, allocations: 0.8364 MB / 0.8011 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.03795, allocations: 60.47 kB / 0.8012 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.03837, allocations: 333.4 kB / 0.8015 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.0384, allocations: 30.2 kB / 0.8015 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.03862, allocations: 248.1 kB / 0.8018 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.03873, allocations: 104.2 kB / 0.8019 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.03886, allocations: 78.14 kB / 0.802 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.03907, allocations: 343.7 kB / 0.8023 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.0394, allocations: 152.8 kB / 0.8024 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.03984, allocations: 288.5 kB / 0.8027 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.0407, allocations: 484.9 kB / 0.8032 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.0407, allocations: 3.312 kB / 0.8032 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001155/0.04186, allocations: 0.5795 MB / 0.8037 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.04188, allocations: 10.84 kB / 0.8037 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.04189, allocations: 4 kB / 0.8037 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003493/0.04224, allocations: 87.12 kB / 0.8038 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.04261, allocations: 95.83 kB / 0.8039 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.04263, allocations: 7.984 kB / 0.8039 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.0429, allocations: 31.97 kB / 0.804 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.04293, allocations: 12 kB / 0.804 GB, free: 10.33 MB / 0.7605 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.0002445/0.04318, allocations: 181.6 kB / 0.8041 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.04327, allocations: 47.77 kB / 0.8042 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.04429, allocations: 472 kB / 0.8046 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.04429, allocations: 0 / 0.8046 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.04431, allocations: 4 kB / 0.8046 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.04431, allocations: 0 / 0.8046 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.04593, allocations: 0.8442 MB / 0.8055 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.04593, allocations: 0 / 0.8055 GB, free: 8.719 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.04619, allocations: 51.89 kB / 0.8055 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002683/0.04646, allocations: 82.61 kB / 0.8056 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.04649, allocations: 8 kB / 0.8056 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.04649, allocations: 4 kB / 0.8056 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.0465, allocations: 11.88 kB / 0.8056 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.04749, allocations: 0.5431 MB / 0.8062 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.04765, allocations: 63.67 kB / 0.8062 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.0477, allocations: 8 kB / 0.8062 GB, free: 7.906 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.04793, allocations: 23.97 kB / 0.8062 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.04802, allocations: 23.95 kB / 0.8063 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.04805, allocations: 8 kB / 0.8063 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002646/0.04831, allocations: 223.2 kB / 0.8065 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.04831, allocations: 0 / 0.8065 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004696/0.04878, allocations: 88 kB / 0.8066 GB, free: 7.547 MB / 0.7605 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.0001666/0.04895, allocations: 111.1 kB / 0.8067 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009314/0.04988, allocations: 392.4 kB / 0.807 GB, free: 7.039 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.04988, allocations: 1.25 kB / 0.8071 GB, free: 7.039 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.0503, allocations: 196.2 kB / 0.8072 GB, free: 6.84 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.05104, allocations: 124.3 kB / 0.8074 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.05239, allocations: 0.7193 MB / 0.8081 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.05266, allocations: 220.1 kB / 0.8083 GB, free: 5.727 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002669/0.05293, allocations: 83.27 kB / 0.8083 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.05302, allocations: 32.5 kB / 0.8084 GB, free: 5.609 MB / 0.7605 GB Notification: Performance of SimCode: time 6.72e-07/0.05302, allocations: 0 / 0.8084 GB, free: 5.609 MB / 0.7605 GB Notification: Performance of Templates: time 0.01098/0.06401, allocations: 4.81 MB / 0.8131 GB, free: 0.9531 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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: 7.845853911945596]