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.001413/0.001413, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001514/0.001514, allocations: 161.2 kB / 22.45 MB, free: 5.375 MB / 14.72 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.624/1.624, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.868/2.868, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.822e-05, allocations: 2.281 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005247/0.005275, allocations: 3.597 MB / 0.9849 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003003/0.008277, allocations: 1.746 MB / 0.9866 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.008452, allocations: 23.81 kB / 0.9867 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009281/0.00938, allocations: 273.1 kB / 0.9869 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.01003, allocations: 318.1 kB / 0.9872 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.01057, allocations: 251.2 kB / 0.9875 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007271/0.0113, allocations: 0.6322 MB / 0.9881 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.01172, allocations: 226.6 kB / 0.9883 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004981/0.01221, allocations: 343.2 kB / 0.9886 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.01255, allocations: 203.4 kB / 0.9888 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.0126, allocations: 28 kB / 0.9888 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.01301, allocations: 255.2 kB / 0.9891 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.01317, allocations: 127.6 kB / 0.9892 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.01334, allocations: 147.6 kB / 0.9894 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007496/0.01409, allocations: 0.5957 MB / 0.9899 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.0141, allocations: 4 kB / 0.9899 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.183e-06/0.0141, allocations: 4 kB / 0.9899 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.01411, allocations: 0 / 0.9899 GB, free: 3.254 MB / 0.9356 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.001207/0.01532, allocations: 0.6604 MB / 0.9906 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.01535, allocations: 8.031 kB / 0.9906 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008998/0.01625, allocations: 148.4 kB / 0.9907 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.01681, allocations: 340.6 kB / 0.9911 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.01684, allocations: 25.02 kB / 0.9911 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.0169, allocations: 32.38 kB / 0.9911 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009148/0.01782, allocations: 0.6272 MB / 0.9917 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.01783, allocations: 3.938 kB / 0.9917 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.01788, allocations: 19.98 kB / 0.9918 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.898e-05/0.01795, allocations: 48.56 kB / 0.9918 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.01869, allocations: 402.1 kB / 0.9922 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.02158, allocations: 2.667 MB / 0.9948 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000695/0.02227, allocations: 310.4 kB / 0.9951 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.02258, allocations: 164.7 kB / 0.9952 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.0226, allocations: 8 kB / 0.9952 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.02265, allocations: 38.5 kB / 0.9953 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.02265, allocations: 3.938 kB / 0.9953 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.002077/0.02472, allocations: 0.8433 MB / 0.9961 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.02477, allocations: 59.58 kB / 0.9962 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.02513, allocations: 337.4 kB / 0.9965 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.02516, allocations: 29.7 kB / 0.9965 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.02535, allocations: 252 kB / 0.9968 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/0.02544, allocations: 95.17 kB / 0.9968 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.02557, allocations: 82.14 kB / 0.9969 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.02574, allocations: 342.8 kB / 0.9973 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.02603, allocations: 152.9 kB / 0.9974 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.02643, allocations: 287.2 kB / 0.9977 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007451/0.02718, allocations: 486.3 kB / 0.9981 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.02718, allocations: 0 / 0.9981 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00104/0.02822, allocations: 0.5624 MB / 0.9987 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.02824, allocations: 10.03 kB / 0.9987 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.02825, allocations: 4 kB / 0.9987 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.02857, allocations: 90.5 kB / 0.9988 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.02891, allocations: 79.89 kB / 0.9989 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.02893, allocations: 15.92 kB / 0.9989 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.02918, allocations: 23.98 kB / 0.9989 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.02921, allocations: 28.17 kB / 0.9989 GB, free: 9.555 MB / 0.9512 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.0001966/0.02941, allocations: 173.6 kB / 0.9991 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.02948, allocations: 39.77 kB / 0.9991 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009189/0.0304, allocations: 468.2 kB / 0.9996 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.0304, allocations: 0 / 0.9996 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.03041, allocations: 4 kB / 0.9996 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.03041, allocations: 7.984 kB / 0.9996 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.03183, allocations: 0.8314 MB / 1 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.03184, allocations: 4 kB / 1 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.03207, allocations: 51.91 kB / 1 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/0.03231, allocations: 78.5 kB / 1.001 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.03234, allocations: 8 kB / 1.001 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.03234, allocations: 4.094 kB / 1.001 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/0.03235, allocations: 7.938 kB / 1.001 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.03325, allocations: 0.543 MB / 1.001 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.03338, allocations: 59.73 kB / 1.001 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.03342, allocations: 11.88 kB / 1.001 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.03364, allocations: 23.97 kB / 1.001 GB, free: 7.133 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.03372, allocations: 27.89 kB / 1.001 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.03374, allocations: 8 kB / 1.001 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002199/0.03396, allocations: 227.2 kB / 1.001 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.03396, allocations: 0 / 1.001 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004055/0.03436, allocations: 88 kB / 1.002 GB, free: 6.793 MB / 0.9512 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.0001423/0.0345, allocations: 115 kB / 1.002 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008236/0.03533, allocations: 401.6 kB / 1.002 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.03533, allocations: 0 / 1.002 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.03571, allocations: 190.4 kB / 1.002 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/0.03641, allocations: 120 kB / 1.002 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.03754, allocations: 0.7055 MB / 1.003 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.03777, allocations: 224.1 kB / 1.003 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002007/0.03797, allocations: 75.3 kB / 1.003 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.45e-05/0.03805, allocations: 28.5 kB / 1.003 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.03805, allocations: 0 / 1.003 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of Templates: time 0.01003/0.04808, allocations: 4.804 MB / 1.008 GB, free: 240 kB / 0.9512 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.472677290439606]