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.0009052/0.0009052, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008496/0.0008496, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.8735/0.8735, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.767/1.767, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.563e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003245/0.003261, allocations: 3.583 MB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.004919, allocations: 1.746 MB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.005056, allocations: 23.75 kB / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.005617, allocations: 269.2 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.005966, allocations: 334.1 kB / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.006248, allocations: 251.2 kB / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.006648, allocations: 0.6245 MB / 1.008 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.006936, allocations: 226.6 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.007259, allocations: 343.1 kB / 1.008 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.007458, allocations: 203.4 kB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.007488, allocations: 24 kB / 1.008 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.007704, allocations: 251.2 kB / 1.009 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.15e-05/0.007795, allocations: 127.6 kB / 1.009 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.671e-05/0.007892, allocations: 143.6 kB / 1.009 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.008418, allocations: 0.6074 MB / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.00842, allocations: 0 / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008421, allocations: 0 / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.008427, allocations: 0 / 1.009 GB, free: 4.266 MB / 0.9636 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.0007087/0.009135, allocations: 0.6681 MB / 1.01 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.009168, allocations: 8.75 kB / 1.01 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004601/0.009628, allocations: 148.5 kB / 1.01 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.009983, allocations: 340.7 kB / 1.011 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.009998, allocations: 17.03 kB / 1.011 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.01004, allocations: 36.36 kB / 1.011 GB, free: 3.004 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.01058, allocations: 0.6233 MB / 1.011 GB, free: 2.289 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.0106, allocations: 7.938 kB / 1.011 GB, free: 2.281 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.01062, allocations: 15.98 kB / 1.011 GB, free: 2.266 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.01067, allocations: 44.62 kB / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.01108, allocations: 406.1 kB / 1.012 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.01259, allocations: 2.687 MB / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.013, allocations: 310.5 kB / 1.015 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.01317, allocations: 164.6 kB / 1.015 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.01319, allocations: 8 kB / 1.015 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.01321, allocations: 34.5 kB / 1.015 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=26): time 1.222e-06/0.01321, allocations: 0 / 1.015 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=27): time 0.001108/0.01432, allocations: 0.8373 MB / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.01434, allocations: 55.64 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.01455, allocations: 337.4 kB / 1.016 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.01456, allocations: 29.7 kB / 1.016 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.01467, allocations: 252 kB / 1.016 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.01486, allocations: 95.17 kB / 1.016 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.01493, allocations: 82.14 kB / 1.016 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.01502, allocations: 342.8 kB / 1.017 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.01518, allocations: 152.9 kB / 1.017 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.01539, allocations: 291.1 kB / 1.017 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.01578, allocations: 478.3 kB / 1.018 GB, free: 11.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01578, allocations: 4 kB / 1.018 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005562/0.01634, allocations: 0.562 MB / 1.018 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01635, allocations: 8 kB / 1.018 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01636, allocations: 4 kB / 1.018 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.01654, allocations: 87.06 kB / 1.018 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.01671, allocations: 91.81 kB / 1.018 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.01672, allocations: 12 kB / 1.018 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.01683, allocations: 27.97 kB / 1.018 GB, free: 10.58 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.01685, allocations: 16 kB / 1.018 GB, free: 10.57 MB / 0.9792 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.000129/0.01698, allocations: 189.5 kB / 1.019 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.01702, allocations: 39.77 kB / 1.019 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004856/0.0175, allocations: 463.9 kB / 1.019 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01751, allocations: 4 kB / 1.019 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01751, allocations: 0 / 1.019 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01752, allocations: 0 / 1.019 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007769/0.01829, allocations: 0.8437 MB / 1.02 GB, free: 8.957 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01829, allocations: 0 / 1.02 GB, free: 8.957 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.01841, allocations: 55.88 kB / 1.02 GB, free: 8.902 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.01853, allocations: 86.61 kB / 1.02 GB, free: 8.809 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.01855, allocations: 8 kB / 1.02 GB, free: 8.801 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.01855, allocations: 7.938 kB / 1.02 GB, free: 8.793 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01855, allocations: 3.938 kB / 1.02 GB, free: 8.789 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.01901, allocations: 0.5355 MB / 1.021 GB, free: 8.219 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.498e-05/0.01908, allocations: 59.73 kB / 1.021 GB, free: 8.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.01911, allocations: 8 kB / 1.021 GB, free: 8.152 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.01921, allocations: 27.97 kB / 1.021 GB, free: 8.125 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.01926, allocations: 23.89 kB / 1.021 GB, free: 8.102 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.01927, allocations: 8 kB / 1.021 GB, free: 8.094 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001246/0.01939, allocations: 223.2 kB / 1.021 GB, free: 7.883 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01939, allocations: 0 / 1.021 GB, free: 7.883 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000239/0.01963, allocations: 84 kB / 1.021 GB, free: 7.801 MB / 0.9792 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.945e-05/0.01971, allocations: 111.1 kB / 1.021 GB, free: 7.684 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004688/0.02018, allocations: 410.7 kB / 1.021 GB, free: 7.273 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02018, allocations: 0 / 1.021 GB, free: 7.273 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.02037, allocations: 187.6 kB / 1.022 GB, free: 7.082 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.02076, allocations: 119 kB / 1.022 GB, free: 6.969 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006962/0.02146, allocations: 0.754 MB / 1.022 GB, free: 6.172 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.02159, allocations: 220.1 kB / 1.023 GB, free: 5.934 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.02165, allocations: 28.5 kB / 1.023 GB, free: 5.906 MB / 0.9792 GB Notification: Performance of SimCode: time 5.21e-07/0.02165, allocations: 0 / 1.023 GB, free: 5.906 MB / 0.9792 GB Notification: Performance of Templates: time 0.007063/0.02872, allocations: 9.569 MB / 1.032 GB, free: 12.37 MB / 0.9948 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.255034168250859]