Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007815/0.007815, allocations: 99.31 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 187.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.3 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 71.17 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2622, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006446/0.2686, allocations: 4.845 MB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004179/0.2728, allocations: 2.455 MB / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000509/0.2734, allocations: 23.81 kB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.2748, allocations: 407.5 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.276, allocations: 441.6 kB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009597/0.277, allocations: 377.2 kB / 1.096 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.2783, allocations: 0.9173 MB / 1.097 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006169/0.279, allocations: 357.3 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005995/0.2796, allocations: 338.7 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005503/0.2801, allocations: 354.4 kB / 1.098 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-05/0.2802, allocations: 40 kB / 1.098 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008009/0.281, allocations: 403.1 kB / 1.098 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.2813, allocations: 179.5 kB / 1.098 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004604/0.2818, allocations: 318.2 kB / 1.099 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.2831, allocations: 0.8807 MB / 1.099 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.2831, allocations: 0 / 1.099 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2831, allocations: 4 kB / 1.099 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.011e-05/0.2832, allocations: 0 / 1.099 GB, free: 5.715 MB / 0.8575 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.001814/0.285, allocations: 0.9385 MB / 1.1 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2851, allocations: 12.03 kB / 1.1 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.2852, allocations: 90.69 kB / 1.1 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.2865, allocations: 199.9 kB / 1.101 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009265/0.2875, allocations: 0.5373 MB / 1.101 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.2875, allocations: 33.36 kB / 1.101 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.2876, allocations: 48.27 kB / 1.101 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.2889, allocations: 0.8524 MB / 1.102 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.2889, allocations: 7.938 kB / 1.102 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.2889, allocations: 20 kB / 1.102 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-05/0.289, allocations: 64.95 kB / 1.102 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008416/0.2899, allocations: 0.5695 MB / 1.103 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004545/0.2945, allocations: 5.635 MB / 1.108 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.2951, allocations: 456.2 kB / 1.109 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.2954, allocations: 232.7 kB / 1.109 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.2955, allocations: 7.984 kB / 1.109 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.2955, allocations: 39.03 kB / 1.109 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.2955, allocations: 0 / 1.109 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002602/0.2981, allocations: 1.508 MB / 1.11 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2982, allocations: 59.62 kB / 1.11 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000549/0.2987, allocations: 499 kB / 1.111 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.2988, allocations: 33.7 kB / 1.111 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.299, allocations: 350.8 kB / 1.111 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2991, allocations: 122.3 kB / 1.111 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.2993, allocations: 106.2 kB / 1.112 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2995, allocations: 370.8 kB / 1.112 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.2998, allocations: 193.2 kB / 1.112 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.3002, allocations: 447 kB / 1.112 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007886/0.301, allocations: 0.6994 MB / 1.113 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.301, allocations: 0 / 1.113 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001253/0.3023, allocations: 0.8093 MB / 1.114 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3023, allocations: 8 kB / 1.114 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.3023, allocations: 11.94 kB / 1.114 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004847/0.3028, allocations: 156.4 kB / 1.114 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.3033, allocations: 123.7 kB / 1.114 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003386/0.3067, allocations: 4.34 MB / 1.118 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.3071, allocations: 31.97 kB / 1.119 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.3072, allocations: 28 kB / 1.119 GB, free: 0.6523 MB / 0.8731 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.0002756/0.3075, allocations: 217.6 kB / 1.119 GB, free: 440 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.3076, allocations: 63.33 kB / 1.119 GB, free: 376 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009899/0.3086, allocations: 0.5929 MB / 1.119 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3086, allocations: 4 kB / 1.119 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3086, allocations: 0 / 1.119 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3087, allocations: 8 kB / 1.119 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.3106, allocations: 1.254 MB / 1.121 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.3106, allocations: 7.938 kB / 1.121 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.3109, allocations: 59.89 kB / 1.121 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004057/0.3113, allocations: 140.1 kB / 1.121 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.3113, allocations: 16.03 kB / 1.121 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003133/0.3145, allocations: 4.332 MB / 1.125 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3145, allocations: 0 / 1.125 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.3156, allocations: 0.7121 MB / 1.126 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.3159, allocations: 168.2 kB / 1.126 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.316, allocations: 11.98 kB / 1.126 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.3163, allocations: 31.97 kB / 1.126 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.3164, allocations: 31.84 kB / 1.126 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.3164, allocations: 11.98 kB / 1.126 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003815/0.3168, allocations: 330.9 kB / 1.126 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3168, allocations: 0 / 1.126 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000687/0.3175, allocations: 140 kB / 1.126 GB, free: 7.914 MB / 0.8887 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.001306/0.3188, allocations: 1.256 MB / 1.128 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.3202, allocations: 1.037 MB / 1.129 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3202, allocations: 4.125 kB / 1.129 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008/0.321, allocations: 0.7382 MB / 1.129 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3221, allocations: 208.9 kB / 1.13 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006558/0.3287, allocations: 5.098 MB / 1.135 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.3293, allocations: 0.898 MB / 1.135 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003554/0.3296, allocations: 121.3 kB / 1.136 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.3299, allocations: 191.4 kB / 1.136 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/0.3299, allocations: 0 / 1.136 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1516/0.4815, allocations: 12.92 MB / 1.148 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.91, allocations: 4.312 kB / 1.148 GB, free: 1.031 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches