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.0007502/0.0007502, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007637/0.0007637, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8241/0.8241, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.597/1.597, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.9505 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.237e-06/1.036e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003072/0.003083, allocations: 3.579 MB / 0.954 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.00466, allocations: 1.75 MB / 0.9557 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.004786, allocations: 23.75 kB / 0.9557 GB, free: 13 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005305/0.005317, allocations: 278.5 kB / 0.956 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.005653, allocations: 318.2 kB / 0.9563 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.005922, allocations: 253 kB / 0.9565 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003936/0.006315, allocations: 0.6322 MB / 0.9572 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.006589, allocations: 222.6 kB / 0.9574 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.006888, allocations: 347 kB / 0.9577 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.007085, allocations: 207.4 kB / 0.9579 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.007114, allocations: 24 kB / 0.9579 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.00733, allocations: 251.3 kB / 0.9582 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 9.537e-05/0.007425, allocations: 127.6 kB / 0.9583 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 9.161e-05/0.007517, allocations: 139.6 kB / 0.9584 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.00793, allocations: 0.6035 MB / 0.959 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.007932, allocations: 0 / 0.959 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.52e-07/0.007932, allocations: 0 / 0.959 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.007938, allocations: 0 / 0.959 GB, free: 9.625 MB / 0.8698 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.0007478/0.008685, allocations: 0.672 MB / 0.9597 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.008719, allocations: 12.03 kB / 0.9597 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.065e-05/0.00877, allocations: 74.7 kB / 0.9597 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004452/0.009215, allocations: 136.5 kB / 0.9599 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.009569, allocations: 352.5 kB / 0.9602 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.009585, allocations: 21.03 kB / 0.9602 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.009622, allocations: 28.38 kB / 0.9603 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.01013, allocations: 0.6309 MB / 0.9609 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.01015, allocations: 0 / 0.9609 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.01017, allocations: 12 kB / 0.9609 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.01021, allocations: 52.56 kB / 0.9609 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.01063, allocations: 406.1 kB / 0.9613 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.01216, allocations: 2.737 MB / 0.964 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.01257, allocations: 310.5 kB / 0.9643 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.01274, allocations: 164.7 kB / 0.9644 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.01276, allocations: 4 kB / 0.9644 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.01277, allocations: 38.55 kB / 0.9645 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.353e-06/0.01277, allocations: 3.938 kB / 0.9645 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of matching and sorting (n=27): time 0.001101/0.01387, allocations: 0.8276 MB / 0.9653 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.0139, allocations: 59.58 kB / 0.9654 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.01411, allocations: 349.5 kB / 0.9657 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.01413, allocations: 29.7 kB / 0.9657 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.0143, allocations: 248.2 kB / 0.966 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.01435, allocations: 107 kB / 0.9661 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.01442, allocations: 86.05 kB / 0.9661 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.0145, allocations: 346.8 kB / 0.9665 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.01466, allocations: 144.9 kB / 0.9666 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.01487, allocations: 296.7 kB / 0.9669 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.01527, allocations: 490.4 kB / 0.9674 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01527, allocations: 4 kB / 0.9674 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005495/0.01582, allocations: 0.5584 MB / 0.9679 GB, free: 0 / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.01585, allocations: 8.047 kB / 0.9679 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01585, allocations: 4 kB / 0.9679 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/0.01603, allocations: 90.41 kB / 0.968 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.0162, allocations: 83.88 kB / 0.9681 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.01621, allocations: 11.94 kB / 0.9681 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.01634, allocations: 27.97 kB / 0.9681 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.01635, allocations: 20 kB / 0.9681 GB, free: 15.75 MB / 0.8855 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.0001175/0.01647, allocations: 181.7 kB / 0.9683 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.0165, allocations: 43.7 kB / 0.9684 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/0.01699, allocations: 460.1 kB / 0.9688 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01699, allocations: 4 kB / 0.9688 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.017, allocations: 0 / 0.9688 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.017, allocations: 3.984 kB / 0.9688 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007992/0.0178, allocations: 0.8944 MB / 0.9697 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.0178, allocations: 4 kB / 0.9697 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.01791, allocations: 51.89 kB / 0.9697 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.01804, allocations: 82.44 kB / 0.9698 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.01805, allocations: 8 kB / 0.9698 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01805, allocations: 96 / 0.9698 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01806, allocations: 8 kB / 0.9698 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.01852, allocations: 0.5396 MB / 0.9703 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.0186, allocations: 67.69 kB / 0.9704 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.01863, allocations: 7.938 kB / 0.9704 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01873, allocations: 23.97 kB / 0.9704 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.01879, allocations: 27.83 kB / 0.9705 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.0188, allocations: 12 kB / 0.9705 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001385/0.01894, allocations: 231.2 kB / 0.9707 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.01894, allocations: 4 kB / 0.9707 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002489/0.01918, allocations: 88 kB / 0.9708 GB, free: 12.9 MB / 0.8855 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.000634/0.01982, allocations: 1.082 MB / 0.9718 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004671/0.02029, allocations: 398 kB / 0.9722 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.02029, allocations: 0 / 0.9722 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.02049, allocations: 195.8 kB / 0.9724 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.02088, allocations: 141.6 kB / 0.9725 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.02372, allocations: 3.707 MB / 0.9762 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.02385, allocations: 223.7 kB / 0.9764 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.02398, allocations: 75.36 kB / 0.9765 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.02411, allocations: 128.5 kB / 0.9766 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of SimCode: time 4.71e-07/0.02411, allocations: 8 kB / 0.9766 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.04292, allocations: 9.44 MB / 0.9858 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.768, allocations: 6.094 kB / 0.9858 GB, free: 13.52 MB / 0.9011 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 420.0] 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: 10.42105209454894]