Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.001636/0.001636, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001859/0.001859, allocations: 195.6 kB / 16.25 MB, free: 6.629 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.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.256/2.256, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 63.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5102, allocations: 140.4 MB / 0.9492 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003795/0.5141, allocations: 3.784 MB / 0.9529 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.5159, allocations: 1.787 MB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.5161, allocations: 17.44 kB / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006558/0.5167, allocations: 235.8 kB / 0.9549 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.5171, allocations: 282.9 kB / 0.9552 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.5175, allocations: 222.5 kB / 0.9554 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.518, allocations: 0.5999 MB / 0.956 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.5183, allocations: 280.3 kB / 0.9563 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.5186, allocations: 246.5 kB / 0.9565 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.5188, allocations: 243.5 kB / 0.9567 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.5188, allocations: 26.5 kB / 0.9567 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.5191, allocations: 271.2 kB / 0.957 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.5192, allocations: 121.9 kB / 0.9571 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.5194, allocations: 209.6 kB / 0.9573 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004457/0.5198, allocations: 0.6013 MB / 0.9579 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5198, allocations: 4 kB / 0.9579 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5198, allocations: 0 / 0.9579 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5198, allocations: 1.375 kB / 0.9579 GB, free: 2.715 MB / 0.7169 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.0008472/0.5207, allocations: 0.735 MB / 0.9586 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.5207, allocations: 13.97 kB / 0.9586 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.537e-05/0.5208, allocations: 70.31 kB / 0.9587 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007911/0.5216, allocations: 138 kB / 0.9588 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.5219, allocations: 383 kB / 0.9592 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.522, allocations: 20.72 kB / 0.9592 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.522, allocations: 31.17 kB / 0.9593 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/0.5227, allocations: 0.5483 MB / 0.9598 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.5227, allocations: 10.42 kB / 0.9598 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.5227, allocations: 12.31 kB / 0.9598 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.153e-05/0.5228, allocations: 37.77 kB / 0.9599 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/0.5234, allocations: 412.6 kB / 0.9602 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.5257, allocations: 3.34 MB / 0.9635 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005731/0.5263, allocations: 338.5 kB / 0.9638 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.5266, allocations: 173 kB / 0.964 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.5266, allocations: 3.25 kB / 0.964 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.5266, allocations: 40.62 kB / 0.964 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.283e-06/0.5266, allocations: 0 / 0.964 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27): time 0.001822/0.5285, allocations: 1.061 MB / 0.9651 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.5285, allocations: 59.48 kB / 0.9651 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.5288, allocations: 347.2 kB / 0.9655 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.5289, allocations: 30.61 kB / 0.9655 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.529, allocations: 237.8 kB / 0.9657 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.5291, allocations: 103.5 kB / 0.9658 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.5292, allocations: 76.45 kB / 0.9659 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5293, allocations: 343 kB / 0.9662 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.5296, allocations: 150.1 kB / 0.9664 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.5299, allocations: 294.6 kB / 0.9666 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/0.5306, allocations: 478.7 kB / 0.9671 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5306, allocations: 2.188 kB / 0.9671 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000944/0.5316, allocations: 0.5682 MB / 0.9677 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5316, allocations: 9.688 kB / 0.9677 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5316, allocations: 8.344 kB / 0.9677 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/0.5319, allocations: 81.42 kB / 0.9677 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.5322, allocations: 92.5 kB / 0.9678 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.5322, allocations: 10.62 kB / 0.9678 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.5325, allocations: 34.31 kB / 0.9679 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.5325, allocations: 15.22 kB / 0.9679 GB, free: 10.54 MB / 0.7325 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.0001744/0.5327, allocations: 179.5 kB / 0.9681 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.5328, allocations: 39.31 kB / 0.9681 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008231/0.5336, allocations: 470.2 kB / 0.9686 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5336, allocations: 3.969 kB / 0.9686 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5336, allocations: 1.375 kB / 0.9686 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.5336, allocations: 3.984 kB / 0.9686 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.5349, allocations: 0.9504 MB / 0.9695 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5349, allocations: 1.031 kB / 0.9695 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.5352, allocations: 52.05 kB / 0.9695 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/0.5354, allocations: 84.91 kB / 0.9696 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.5354, allocations: 10.34 kB / 0.9696 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5354, allocations: 5.594 kB / 0.9696 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5354, allocations: 5.156 kB / 0.9696 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007663/0.5362, allocations: 0.5461 MB / 0.9702 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.5364, allocations: 137.4 kB / 0.9703 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.5364, allocations: 3.281 kB / 0.9703 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.5366, allocations: 26.25 kB / 0.9703 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.5367, allocations: 22.72 kB / 0.9704 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.5367, allocations: 10.03 kB / 0.9704 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002102/0.5369, allocations: 233.4 kB / 0.9706 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.537, allocations: 0 / 0.9706 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003859/0.5373, allocations: 89.53 kB / 0.9707 GB, free: 8.562 MB / 0.7325 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.001024/0.5384, allocations: 1.096 MB / 0.9717 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008616/0.5392, allocations: 0.6672 MB / 0.9724 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5393, allocations: 0 / 0.9724 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.5397, allocations: 427.2 kB / 0.9728 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006388/0.5403, allocations: 129.5 kB / 0.9729 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.5449, allocations: 3.902 MB / 0.9767 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.5453, allocations: 0.8167 MB / 0.9775 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002453/0.5455, allocations: 79.75 kB / 0.9776 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.5457, allocations: 133.2 kB / 0.9777 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5457, allocations: 0 / 0.9777 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9866/1.532, allocations: 8.118 MB / 0.9857 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/1.533, allocations: 246.5 kB / 0.9859 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/3.531, allocations: 3.625 kB / 0.9859 GB, free: 11.41 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches