Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001648/0.001648, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002008/0.002008, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.173/3.173, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 72.27 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3218, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00686/0.3286, allocations: 4.913 MB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004158/0.3328, allocations: 2.518 MB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.3331, allocations: 31.62 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.3343, allocations: 406 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.3354, allocations: 469.6 kB / 1.329 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008413/0.3362, allocations: 374.7 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001033/0.3372, allocations: 0.9134 MB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004737/0.3377, allocations: 294.8 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/0.3382, allocations: 354.6 kB / 1.331 GB, free: 9.066 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.3387, allocations: 366.5 kB / 1.331 GB, free: 8.707 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.3387, allocations: 40 kB / 1.331 GB, free: 8.668 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006957/0.3394, allocations: 411.1 kB / 1.332 GB, free: 8.266 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.3396, allocations: 187.3 kB / 1.332 GB, free: 8.082 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003145/0.3399, allocations: 318.2 kB / 1.332 GB, free: 7.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.341, allocations: 0.8871 MB / 1.333 GB, free: 6.879 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.341, allocations: 0 / 1.333 GB, free: 6.879 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.341, allocations: 0 / 1.333 GB, free: 6.879 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.3411, allocations: 0 / 1.333 GB, free: 6.879 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001472/0.3425, allocations: 0.9688 MB / 1.334 GB, free: 5.859 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3426, allocations: 15.92 kB / 1.334 GB, free: 5.844 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.3427, allocations: 94.69 kB / 1.334 GB, free: 5.742 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.344, allocations: 212.2 kB / 1.334 GB, free: 5.535 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007871/0.3447, allocations: 0.5339 MB / 1.335 GB, free: 4.965 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.3448, allocations: 33.36 kB / 1.335 GB, free: 4.934 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.3449, allocations: 48.36 kB / 1.335 GB, free: 4.887 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.346, allocations: 0.8444 MB / 1.336 GB, free: 3.906 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.3461, allocations: 7.938 kB / 1.336 GB, free: 3.898 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/0.3461, allocations: 23.98 kB / 1.336 GB, free: 3.875 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.3462, allocations: 68.95 kB / 1.336 GB, free: 3.805 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008441/0.3471, allocations: 0.5656 MB / 1.336 GB, free: 3.242 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004683/0.3518, allocations: 5.647 MB / 1.342 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/0.3524, allocations: 430.2 kB / 1.342 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.3527, allocations: 197.3 kB / 1.342 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.3527, allocations: 11.98 kB / 1.342 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.3528, allocations: 30.56 kB / 1.342 GB, free: 12.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.3528, allocations: 0 / 1.342 GB, free: 12.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002614/0.3554, allocations: 1.514 MB / 1.344 GB, free: 10.9 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.3554, allocations: 59.69 kB / 1.344 GB, free: 10.83 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.3559, allocations: 499 kB / 1.344 GB, free: 10.33 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.356, allocations: 29.7 kB / 1.344 GB, free: 10.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.3562, allocations: 359.7 kB / 1.345 GB, free: 9.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.3563, allocations: 130.9 kB / 1.345 GB, free: 9.812 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.3565, allocations: 110.2 kB / 1.345 GB, free: 9.699 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3566, allocations: 366.8 kB / 1.345 GB, free: 9.332 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.3569, allocations: 193.2 kB / 1.346 GB, free: 9.145 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/0.3574, allocations: 447.3 kB / 1.346 GB, free: 8.586 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008306/0.3582, allocations: 0.6952 MB / 1.347 GB, free: 7.777 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3582, allocations: 4 kB / 1.347 GB, free: 7.773 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00128/0.3595, allocations: 0.8016 MB / 1.347 GB, free: 6.949 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3595, allocations: 8 kB / 1.347 GB, free: 6.941 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3596, allocations: 8 kB / 1.347 GB, free: 6.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004995/0.3601, allocations: 164.6 kB / 1.348 GB, free: 6.758 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.3605, allocations: 115.8 kB / 1.348 GB, free: 6.645 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/0.3641, allocations: 4.344 MB / 1.352 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.3645, allocations: 35.91 kB / 1.352 GB, free: 1.852 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.3646, allocations: 28 kB / 1.352 GB, free: 1.824 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002808/0.3649, allocations: 224 kB / 1.352 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.423e-05/0.365, allocations: 63.62 kB / 1.352 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.3661, allocations: 0.5968 MB / 1.353 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3661, allocations: 8 kB / 1.353 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3661, allocations: 0 / 1.353 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3661, allocations: 3.938 kB / 1.353 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.3679, allocations: 1.262 MB / 1.354 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3679, allocations: 0 / 1.354 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.3682, allocations: 51.95 kB / 1.354 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004242/0.3686, allocations: 148.3 kB / 1.354 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.3687, allocations: 11.94 kB / 1.354 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003618/0.3723, allocations: 4.34 MB / 1.359 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3723, allocations: 4 kB / 1.359 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3734, allocations: 0.7085 MB / 1.359 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.3736, allocations: 176.6 kB / 1.359 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.3737, allocations: 8 kB / 1.359 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.3739, allocations: 23.97 kB / 1.359 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/0.374, allocations: 31.89 kB / 1.359 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.374, allocations: 12 kB / 1.36 GB, free: 9.527 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003812/0.3744, allocations: 326.9 kB / 1.36 GB, free: 9.211 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3744, allocations: 0 / 1.36 GB, free: 9.211 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006459/0.3751, allocations: 148 kB / 1.36 GB, free: 9.066 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001366/0.3764, allocations: 1.253 MB / 1.361 GB, free: 7.746 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.3779, allocations: 1.021 MB / 1.362 GB, free: 6.645 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3779, allocations: 0 / 1.362 GB, free: 6.645 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008736/0.3788, allocations: 0.7151 MB / 1.363 GB, free: 5.848 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009751/0.3798, allocations: 210.6 kB / 1.363 GB, free: 5.648 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.3862, allocations: 5.111 MB / 1.368 GB, free: 152 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.3868, allocations: 0.9059 MB / 1.369 GB, free: 15.21 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003618/0.3872, allocations: 125.3 kB / 1.369 GB, free: 15.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.3874, allocations: 199.3 kB / 1.369 GB, free: 14.89 MB / 1.076 GB Notification: Performance of SimCode: time 5.51e-07/0.3874, allocations: 0 / 1.369 GB, free: 14.89 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04764/0.4351, allocations: 12.8 MB / 1.382 GB, free: 2.363 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.81, allocations: 1.547 kB / 1.382 GB, free: 2.363 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 18.443595464108512]